Exception: Hyperdrive::Errors::NotFound

Inherits:
HTTPError
  • Object
show all
Defined in:
lib/hyperdrive/errors/not_found.rb

Instance Attribute Summary

Attributes inherited from HTTPError

#http_status_code, #message

Instance Method Summary collapse

Constructor Details

#initializeNotFound

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