method
causes_for
rails latest stable - Class:
ActionDispatch::ExceptionWrapper
causes_for(exception)private
No documentation available.
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 288
def causes_for(exception)
return enum_for(__method__, exception) unless block_given?
yield exception while exception = exception.cause
end