Exception: Pago::Models::Enums::Unions::Errors::Webhooks::Services::APIError
- Inherits:
-
Error
- Object
- StandardError
- Error
- Pago::Models::Enums::Unions::Errors::Webhooks::Services::APIError
- Defined in:
- sig/pago.rbs
Direct Known Subclasses
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
-
#status_code ⇒ Integer?
readonly
Returns the value of attribute status_code.
Instance Method Summary collapse
-
#initialize ⇒ APIError
constructor
A new instance of APIError.
Constructor Details
#initialize ⇒ APIError
Returns a new instance of APIError.
37 |
# File 'sig/pago.rbs', line 37
def initialize: (?String? message, ?status_code: Integer?, ?data: untyped, ?body: untyped, ?response: untyped) -> void
|
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
34 35 36 |
# File 'sig/pago.rbs', line 34 def body @body end |
#data ⇒ Object (readonly)
Returns the value of attribute data.
33 34 35 |
# File 'sig/pago.rbs', line 33 def data @data end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
35 36 37 |
# File 'sig/pago.rbs', line 35 def response @response end |
#status_code ⇒ Integer? (readonly)
Returns the value of attribute status_code.
32 33 34 |
# File 'sig/pago.rbs', line 32 def status_code @status_code end |