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