package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Collection of server errors

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

    Contains a list of all errors

    *)
  2. code : int;
    (*

    The error code returned

    *)
  3. 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
OCaml

Innovation. Community. Security.