class method
self.new
Ruby on Rails 7.0.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 89
def initialize(message = nil)
super(message || DEFAULT_MESSAGE)
end
Defined in actionpack/lib/action_controller/metal/exceptions.rb line 89
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::RespondToMismatchError