def METHOD_NAME(error: grpc.aio.AioRpcError) -> str:
    """Adds grpc context trainling metadata if available
    :param error: AioRpcError
    :return: formatted error
    """
    default_string = str(error)
    trailing_metadata = extract_trailing_metadata(error)
    if trailing_metadata:
        return f'{default_string}\n{trailing_metadata}'
    return default_string