package gapi-ocaml

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

A single server error

type t = {
  1. domain : string;
    (*

    The domain in which the error occured

    *)
  2. reason : string;
    (*

    The reason the error was thrown

    *)
  3. message : string;
    (*

    The error message

    *)
  4. locationType : string;
    (*

    Type of the location

    *)
  5. location : string;
    (*

    Location where the error was thrown

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

Innovation. Community. Security.