Module Values.BatchItemErrorSource

Describes an error that occurred while processing a document in a batch. The operation returns on BatchItemError object for each document that contained an error.

Sourcetype nonrec t = {
  1. index : Integer.t option;
    (*

    The zero-based index of the document in the input list.

    *)
  2. errorCode : String_.t option;
    (*

    The numeric error code of the error.

    *)
  3. errorMessage : String_.t option;
    (*

    A text description of the error.

    *)
}
Sourceval make : ?index:??? -> ?errorCode:??? -> ?errorMessage:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `String of String_.t ]) 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