class method
self.new
Ruby on Rails 6.1.7.10
Since v6.0.6Signature
self.new(message = nil)
No documentation comment.
Parameters
-
messageopt = nil
Source
# File actionpack/lib/action_controller/metal/exceptions.rb, line 100
def initialize(message = nil)
super(message || DEFAULT_MESSAGE)
end
Defined in actionpack/lib/action_controller/metal/exceptions.rb line 100
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::RespondToMismatchError