Exception: SWD::BadRequest

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) ⇒ BadRequest

Returns a new instance of BadRequest.



14
15
16
# File 'lib/swd/exception.rb', line 14

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