Exception: APIError
- Inherits:
-
StandardError
- Object
- StandardError
- APIError
- Defined in:
- lib/dagpirb/http.rb
Overview
Base Custom Exception class.
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(message, object) ⇒ APIError
constructor
A new instance of APIError.
Constructor Details
#initialize(message, object) ⇒ APIError
Returns a new instance of APIError.
9 10 11 12 |
# File 'lib/dagpirb/http.rb', line 9 def initialize(, object) super() @object = object end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
8 9 10 |
# File 'lib/dagpirb/http.rb', line 8 def object @object end |