Module Values.InvalidGrantExceptionSource

Indicates that a request contains an invalid grant. This can occur if a client makes a CreateToken request with an invalid grant type.

Sourcetype nonrec t = {
  1. error : Error.t option;
    (*

    Single error code. For this exception the value will be invalid_grant.

    *)
  2. error_description : ErrorDescription.t option;
    (*

    Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.

    *)
}
Sourceval make : ?error:??? -> ?error_description:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Error.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t