A FritzApi Error
Summary
Types
@type reason() :: :session_expired | :user_not_authorized | :actor_not_found | :bad_request | :internal_error | :unknown | :login_failed | {:login_failed, [{:block_time, non_neg_integer()}]} | {:unexpected_response, term()} | term()
Why the request failed.
Besides the reasons listed here, it can be any term returned by the HTTP
client, for example %Finch.TransportError{reason: :timeout}.
@type response() :: {FritzApi.HTTPClient.status(), FritzApi.HTTPClient.headers(), FritzApi.HTTPClient.body()}
The HTTP response that caused the error, if there was one.