Exception: EAAL::Exception::HTTPError
- Defined in:
- lib/eaal/exception.rb
Overview
Used when an http error is encountered
Direct Known Subclasses
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status) ⇒ HTTPError
constructor
A new instance of HTTPError.
Constructor Details
#initialize(status) ⇒ HTTPError
Returns a new instance of HTTPError.
32 33 34 |
# File 'lib/eaal/exception.rb', line 32 def initialize(status) @status = status end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
30 31 32 |
# File 'lib/eaal/exception.rb', line 30 def status @status end |