Module Values.SendDurableExecutionCallbackFailureRequestSource

Sends a failure response for a callback operation in a durable execution. Use this API when an external system cannot complete a callback operation successfully.

Sourcetype nonrec t = {
  1. callbackId : CallbackId.t;
    (*

    The unique identifier for the callback operation.

    *)
  2. error : ErrorObject.t option;
    (*

    Error details describing why the callback operation failed.

    *)
}
Sourceval context_ : string
Sourceval make : ?error:??? -> callbackId:CallbackId.t -> unit -> t
Sourceval of_header_and_body : ((string, CallbackId.t) Awso.Import.List.Assoc.t * ErrorObject.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of CallbackId.t | `Structure of (string * [> `List of [> `String of StackTraceEntry.t ] list | `String of ErrorMessage.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t