Module Values.WarningSource

A warning about an issue that occurred during asynchronous text analysis (StartDocumentAnalysis) or asynchronous document text detection (StartDocumentTextDetection).

Sourcetype nonrec t = {
  1. errorCode : ErrorCode.t option;
    (*

    The error code for the warning.

    *)
  2. pages : Pages.t option;
    (*

    A list of the pages that the warning applies to.

    *)
}
Sourceval make : ?errorCode:??? -> ?pages:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Integer of UInteger.t ] list | `String of ErrorCode.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