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