pub fn operation_error(
operation: &str,
op_version: &str,
context: &OperationContext,
spec: OperationErrorSpec<'_>,
message: impl Into<String>,
error_context: BTreeMap<String, String>,
) -> OperationErrorEnvelopepub fn operation_error(
operation: &str,
op_version: &str,
context: &OperationContext,
spec: OperationErrorSpec<'_>,
message: impl Into<String>,
error_context: BTreeMap<String, String>,
) -> OperationErrorEnvelope