Exception: Ridley::Errors::HTTPUnknownStatus
- Inherits:
-
HTTPError
- Object
- StandardError
- RidleyError
- HTTPError
- Ridley::Errors::HTTPUnknownStatus
- Defined in:
- lib/ridley/errors.rb
Instance Attribute Summary
Attributes inherited from HTTPError
Instance Method Summary collapse
-
#initialize(env) ⇒ HTTPUnknownStatus
constructor
A new instance of HTTPUnknownStatus.
Methods inherited from HTTPError
error_map, fabricate, lookup_error, register_error
Constructor Details
#initialize(env) ⇒ HTTPUnknownStatus
Returns a new instance of HTTPUnknownStatus.
69 70 71 72 |
# File 'lib/ridley/errors.rb', line 69 def initialize(env) super(env) @message = "status: #{env[:status]} is an unknown HTTP status code or not an error." end |