Exception: ActionController::BadRequest

Inherits:
ActionControllerError show all
Defined in:
actionpack/lib/action_controller/metal/exceptions.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ BadRequest

Returns a new instance of BadRequest.



8
9
10
11
# File 'actionpack/lib/action_controller/metal/exceptions.rb', line 8

def initialize(msg = nil)
  super(msg)
  set_backtrace $!.backtrace if $!
end