internetdata_error (internetdata v1.6.1)
View SourceWhy a request failed, and whether trying it again could ever help.
Summary
Functions
The authorization server refusing an OAuth request: the ordinary error for its status, plus the RFC 6749 error code, and never retryable, because every code answers the request as it was made.
Classify a non-2xx response.
Classify a failure that never produced a response at all.
A device-code poll reaching the code's lifetime before the server said so: coded expired_token, and without a status, which is how it is told apart.
Types
-type kind() ::
bad_request | unauthorized | forbidden | rate_limited | quota_exceeded | server_error |
network | io.
Functions
The authorization server refusing an OAuth request: the ordinary error for its status, plus the RFC 6749 error code, and never retryable, because every code answers the request as it was made.
Classify a non-2xx response.
Classify a failure that never produced a response at all.
-spec local_expiry() -> error().
A device-code poll reaching the code's lifetime before the server said so: coded expired_token, and without a status, which is how it is told apart.