package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. domain : string;
    (*

    Domain, or broad category, of the error.

    *)
  2. reason : string;
    (*

    Specific reason for the error. Some of the possible values are:

    • "groupTooBig" - The group of users requested is too large for a single query.
    • "tooManyCalendarsRequested" - The number of calendars requested is too large for a single query.
    • "notFound" - The requested resource was not found.
    • "internalError" - The API service has encountered an internal error. Additional error types may be added in the future, so clients should gracefully handle additional error statuses not included in this list.
    *)
}
val domain : (t, string) GapiLens.t
val reason : (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