View Source
Kevo.ApiError exception
(kevo_ex v0.1.0)
Represents a failed response from Kevo's HTTP/2 API.
Types
@type t() :: %Kevo.ApiError{
__exception__: true,
caused_by: any(),
expected: integer() | [{String.t(), String.t()}],
reason: :network_error | :unexpected_status | :unexpected_body,
request: map(),
response: any(),
step: {function :: String.t(), arity :: integer()}
}