Module GapiError.RequestError

Collection of server errors

type t = {
errors : SingleError.t list;(*

Contains a list of all errors

*)
code : int;(*

The error code returned

*)
message : string;(*

The error message returned

*)
}
val errors : ( t, SingleError.t list ) GapiLens.t
val code : ( t, int ) GapiLens.t
val message : ( t, string ) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t
val to_data_model : t -> GapiJson.json_data_model
val of_data_model : GapiJson.json_data_model -> t