Exception: Doze::ResourceNotFoundError

Inherits:
ClientError show all
Defined in:
lib/doze/error.rb

Overview

Unbeknownst at the time of routing, the resource is not actually there.

Instance Attribute Summary

Attributes inherited from Error

#headers, #http_status

Instance Method Summary collapse

Methods inherited from Error

#backtrace

Constructor Details

#initialize(message = nil) ⇒ ResourceNotFoundError

Returns a new instance of ResourceNotFoundError.



32
33
34
# File 'lib/doze/error.rb', line 32

def initialize(message=nil)
  super(Doze::Utils::STATUS_NOT_FOUND, message)
end