Module Values.ValidationErrorSource

Represents a detailed validation error with message, reason, and field mapping for comprehensive error reporting.

Sourcetype nonrec t = {
  1. message : String_.t option;
    (*

    The error message describing the validation issue.

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

    The reason code or category for the validation error.

    *)
  3. fieldMap : FieldMap.t option;
    (*

    A mapping of field names to specific validation issues within the configuration.

    *)
}
Sourceval make : ?message:??? -> ?reason:??? -> ?fieldMap:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of String_.t ] * [> `String of String_.t ]) 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