class method
self.new
Ruby on Rails 6.1.7.10
Since v6.1.7.10 Last seen in v6.1.7.10Signature
self.new(error)
No documentation comment.
Parameters
-
errorreq
Source
# File actionpack/lib/action_controller/metal/exceptions.rb, line 37
def initialize(error)
@error = error
end
Defined in actionpack/lib/action_controller/metal/exceptions.rb line 37
· View on GitHub
· Improve this page
· Find usages on GitHub