instance method
original_exception
Ruby on Rails 4.1.16
Since v3.2.22.5 Last seen in v5.2.8.1 PrivateSignature
original_exception(exception)
No documentation comment.
Parameters
-
exceptionreq
Source
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 75
def original_exception(exception)
if registered_original_exception?(exception)
exception.original_exception
else
exception
end
end
Defined in actionpack/lib/action_dispatch/middleware/exception_wrapper.rb line 75
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::ExceptionWrapper