Module Values.BatchStatementErrorSource

An error associated with a statement in a PartiQL batch that was run.

Sourcetype nonrec t = {
  1. code : BatchStatementErrorCodeEnum.t option;
    (*

    The error code associated with the failed PartiQL batch statement.

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

    The error message associated with the PartiQL batch response.

    *)
  3. item : AttributeMap.t option;
    (*

    The item which caused the condition check to fail. This will be set if ReturnValuesOnConditionCheckFailure is specified as ALL_OLD.

    *)
}
Sourceval make : ?code:??? -> ?message:??? -> ?item:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of AttributeName.t ] * Awso.Botodata.value) list | `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