Exception: Flamingo::Wader::HttpStatusError
- Inherits:
-
WaderError
- Object
- StandardError
- WaderError
- Flamingo::Wader::HttpStatusError
- Defined in:
- lib/flamingo/wader.rb
Direct Known Subclasses
AuthenticationError, InvalidParametersError, UnknownStreamError
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(message, code) ⇒ HttpStatusError
constructor
A new instance of HttpStatusError.
Constructor Details
#initialize(message, code) ⇒ HttpStatusError
Returns a new instance of HttpStatusError.
11 12 13 14 |
# File 'lib/flamingo/wader.rb', line 11 def initialize(,code) super() self.code = code end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
9 10 11 |
# File 'lib/flamingo/wader.rb', line 9 def code @code end |