method
original_exception
v5.0.0.1 -
Show latest stable
- Class:
ActionDispatch::ExceptionWrapper
original_exception(exception)private
No documentation available.
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 107
def original_exception(exception)
if @@rescue_responses.has_key?(exception.cause.class.name)
exception.cause
else
exception
end
end