Module GapiError.SingleError

module SingleError: sig .. end
A single server error

type t = {
   domain : string; (*
The domain in which the error occured
*)
   reason : string; (*
The reason the error was thrown
*)
   message : string; (*
The error message
*)
   locationType : string; (*
Type of the location
*)
   location : string; (*
Location where the error was thrown
*)
   extendedHelp : string;
}
val domain : (t, string) GapiLens.t
val reason : (t, string) GapiLens.t
val message : (t, string) GapiLens.t
val locationType : (t, string) GapiLens.t
val location : (t, string) GapiLens.t
val extendedHelp : (t, string) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t ->
GapiJson.json_data_model -> t