Twilio API error.
Represents both API errors (4xx/5xx responses with Twilio error bodies) and connection-level errors (network failures, timeouts).
Summary
Functions
Build a connection error.
Build error from HTTP response status, body, and headers.
Is this error retryable?
Types
@type error_type() ::
:api_error
| :authentication_error
| :rate_limit_error
| :not_found_error
| :invalid_request_error
| :connection_error
Functions
Build a connection error.
Build error from HTTP response status, body, and headers.
Is this error retryable?