Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
An Access_token_request_error.t
represents an error encountered while fetching an access token.
type t =
| Cohttp_raised of Core.Exn.t
| Json_parsing_error of {
error : Core.Error.t;
response : Cohttp.Response.t;
body : Cohttp.Body.t;
}
| Token_request_rejected of {
response : Cohttp.Response.t;
body : Cohttp.Body.t;
}
| Other_http_error of {
response : Cohttp.Response.t;
body : Cohttp.Body.t;
}
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t