Exception: ActionController::BadRequest
- Inherits:
-
ActionControllerError
- Object
- StandardError
- ActionControllerError
- ActionController::BadRequest
- Defined in:
- actionpack/lib/action_controller/metal/exceptions.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ BadRequest
constructor
A new instance of BadRequest.
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 |