Exception: Pago::V2026_04::Errors::RemoveMember401Error
- Inherits:
-
AuthenticationError
- Object
- StandardError
- Error
- APIError
- ClientError
- AuthenticationError
- Pago::V2026_04::Errors::RemoveMember401Error
- Defined in:
- lib/pago/v2026_04/errors.rb,
sig/pago/v2026_04/generated.rbs
Overview
Authentication required Raised on HTTP 401.
Constant Summary collapse
- STATUS_CODE =
401
Instance Attribute Summary
Attributes inherited from APIError
#body, #data, #response, #status_code
Class Method Summary collapse
-
.from_response(status_code:, body:, response:) ⇒ nil
The deserialized error payload.
Methods inherited from APIError
Constructor Details
This class inherits a constructor from Pago::APIError
Class Method Details
.from_response(status_code:, body:, response:) ⇒ nil
Returns the deserialized error payload.
751 752 753 754 755 756 757 758 759 |
# File 'lib/pago/v2026_04/errors.rb', line 751 def self.from_response(status_code:, body:, response:) new( "Pago API returned an error: #{status_code} - RemoveMember401Error", status_code: status_code, data: body, body: body, response: response ) end |