method

causes_for

causes_for(exception)
private

No documentation available.

# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 283
      def causes_for(exception)
        return enum_for(__method__, exception) unless block_given?

        yield exception while exception = exception.cause
      end