Exception: Pago::V2026_04::Errors::ManualRetryLimitExceeded
- Inherits:
-
RateLimitError
- Object
- StandardError
- Error
- APIError
- ClientError
- RateLimitError
- Pago::V2026_04::Errors::ManualRetryLimitExceeded
- Defined in:
- lib/pago/v2026_04/errors.rb,
sig/pago/v2026_04/generated.rbs
Overview
Manual retry limit exceeded. Raised on HTTP 429.
Constant Summary collapse
- STATUS_CODE =
429
Instance Attribute Summary
Attributes inherited from RateLimitError
Attributes inherited from APIError
#body, #data, #response, #status_code
Class Method Summary collapse
-
.from_response(status_code:, body:, response:) ⇒ Models::ManualRetryLimitExceeded
The deserialized error payload.
Methods inherited from RateLimitError
Methods inherited from APIError
Constructor Details
This class inherits a constructor from Pago::RateLimitError
Class Method Details
.from_response(status_code:, body:, response:) ⇒ Models::ManualRetryLimitExceeded
Returns the deserialized error payload.
530 531 532 533 534 535 536 537 538 |
# File 'lib/pago/v2026_04/errors.rb', line 530 def self.from_response(status_code:, body:, response:) new( "Pago API returned an error: #{status_code} - ManualRetryLimitExceeded", status_code: status_code, data: Models::ManualRetryLimitExceeded.from_json(body), body: body, response: response ) end |