Exception: Gaah::HTTPBadRequest

Inherits:
StandardError
  • Object
show all
Defined in:
lib/gaah/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ HTTPBadRequest

Returns a new instance of HTTPBadRequest.



17
18
19
20
# File 'lib/gaah/exceptions.rb', line 17

def initialize(msg = nil)
  info = "Unsupported action"
  super("#{info}#{msg.nil? ? '.' : ': '}#{msg}")
end