Exception: HalApi::Errors::NotFound

Inherits:
ApiError
  • Object
show all
Defined in:
lib/hal_api/errors.rb

Instance Attribute Summary

Attributes inherited from ApiError

#status

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ NotFound

Returns a new instance of NotFound.



13
14
15
# File 'lib/hal_api/errors.rb', line 13

def initialize(message = nil)
  super(message || "Resource Not Found", 404)
end