Exception: Hyperdrive::Errors::NotFound
- Defined in:
- lib/hyperdrive/errors/not_found.rb
Instance Attribute Summary
Attributes inherited from HTTPError
Instance Method Summary collapse
-
#initialize ⇒ NotFound
constructor
A new instance of NotFound.
Constructor Details
#initialize ⇒ NotFound
Returns a new instance of NotFound.
4 5 6 7 |
# File 'lib/hyperdrive/errors/not_found.rb', line 4 def initialize @message = 'The requested resource could not be found.' @http_status_code = 404 end |