Exception: Aireview::JevError
- Defined in:
- lib/aireview/errors.rb
Overview
A Jev request failed: network, HTTP status, an answer of the wrong shape. status is the HTTP status when the server answered.
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(message, status: nil) ⇒ JevError
constructor
A new instance of JevError.
Constructor Details
#initialize(message, status: nil) ⇒ JevError
Returns a new instance of JevError.
23 24 25 26 |
# File 'lib/aireview/errors.rb', line 23 def initialize(, status: nil) super() @status = status end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
21 22 23 |
# File 'lib/aireview/errors.rb', line 21 def status @status end |