Flowdock
method

new

Importance_0
v4.2.1 - Show latest stable - 0 notes - Class: BadRequest
new(type = nil, e = nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/metal/exceptions.rb, line 8
    def initialize(type = nil, e = nil)
      return super() unless type && e

      super("Invalid #{type} parameters: #{e.message}")
      @original_exception = e
      set_backtrace e.backtrace
    end
Register or log in to add new notes.