Exception: HalApi::Errors::NotFound

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

Instance Attribute Summary

Attributes inherited from ApiError

#hint, #status

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ NotFound

Returns a new instance of NotFound.



23
24
25
# File 'lib/hal_api/errors.rb', line 23

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