Exception: Altertable::ApiError
- Inherits:
-
AltertableError
- Object
- StandardError
- AltertableError
- Altertable::ApiError
- Defined in:
- lib/altertable/errors.rb,
sig/altertable/errors.rbs
Instance Attribute Summary collapse
-
#details ⇒ ::Hash[String, untyped]
readonly
Returns the value of attribute details.
-
#status ⇒ Integer
readonly
Returns the value of attribute status.
Attributes inherited from AltertableError
Instance Method Summary collapse
-
#initialize(message, status, details = {}) ⇒ ApiError
constructor
A new instance of ApiError.
Constructor Details
#initialize(message, status, details = {}) ⇒ ApiError
Returns a new instance of ApiError.
18 19 20 21 22 |
# File 'lib/altertable/errors.rb', line 18 def initialize(, status, details = {}) super() @status = status @details = details end |
Instance Attribute Details
#details ⇒ ::Hash[String, untyped] (readonly)
Returns the value of attribute details.
16 17 18 |
# File 'lib/altertable/errors.rb', line 16 def details @details end |
#status ⇒ Integer (readonly)
Returns the value of attribute status.
16 17 18 |
# File 'lib/altertable/errors.rb', line 16 def status @status end |