package gapi-ocaml

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

Module GapiError.RequestErrorSource

Collection of server errors

Sourcetype 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

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

Innovation. Community. Security.