Exception: SWD::NotFound

Inherits:
HttpError show all
Defined in:
lib/swd/exception.rb

Instance Attribute Summary

Attributes inherited from HttpError

#response, #status

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, response = nil) ⇒ NotFound

Returns a new instance of NotFound.



32
33
34
# File 'lib/swd/exception.rb', line 32

def initialize(message = nil, response = nil)
  super 404, message, response
end