instance method
unwrapped_exception
Ruby on Rails 8.0.4
Since v6.0.6Signature
unwrapped_exception()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 105
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 105
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::ExceptionWrapper