Exception: Rufus::Jig::HttpError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Rufus::Jig::HttpError
- Defined in:
- lib/rufus/jig/http.rb
Overview
Keeping track of the HTTP status code and of the error message.
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status, message) ⇒ HttpError
constructor
A new instance of HttpError.
Constructor Details
#initialize(status, message) ⇒ HttpError
Returns a new instance of HttpError.
47 48 49 50 51 |
# File 'lib/rufus/jig/http.rb', line 47 def initialize(status, ) @status = status super() end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
45 46 47 |
# File 'lib/rufus/jig/http.rb', line 45 def status @status end |