Exception: ConnectorKit::APIError
- Defined in:
- lib/connector_kit/exceptions.rb
Overview
Simple model class for representing errors in the App Store Connect API
Instance Attribute Summary collapse
-
#detail ⇒ Object
readonly
Returns the value of attribute detail.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(message, detail, status) ⇒ APIError
constructor
A new instance of APIError.
Constructor Details
#initialize(message, detail, status) ⇒ APIError
Returns a new instance of APIError.
8 9 10 11 12 13 |
# File 'lib/connector_kit/exceptions.rb', line 8 def initialize(, detail, status) super() @detail = detail @status = status end |
Instance Attribute Details
#detail ⇒ Object (readonly)
Returns the value of attribute detail.
6 7 8 |
# File 'lib/connector_kit/exceptions.rb', line 6 def detail @detail end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
6 7 8 |
# File 'lib/connector_kit/exceptions.rb', line 6 def status @status end |