instance method
unwrapped_exception
Ruby on Rails 6.0.6
Since v6.0.6Signature
unwrapped_exception()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 49
def unwrapped_exception
if wrapper_exceptions.include?(exception.class.to_s)
exception.cause
else
exception
end
end
Defined in actionpack/lib/action_dispatch/middleware/exception_wrapper.rb line 49
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::ExceptionWrapper