method

causes_for

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: ExceptionWrapper
causes_for(exception) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.