Exception: Gaah::HTTPBadRequest
- Inherits:
-
StandardError
- Object
- StandardError
- Gaah::HTTPBadRequest
- Defined in:
- lib/gaah/exceptions.rb
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ HTTPBadRequest
constructor
A new instance of HTTPBadRequest.
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 |