instance method original_exception

Ruby on Rails 3.1.12

Since v3.1.12 Last seen in v3.1.12 Private

Signature

original_exception(exception)

No documentation comment.

Parameters

exception req
Source
# File actionpack/lib/action_dispatch/middleware/show_exceptions.rb, line 159
    def original_exception(exception)
      if registered_original_exception?(exception)
        exception.original_exception
      else
        exception
      end
    end

Defined in actionpack/lib/action_dispatch/middleware/show_exceptions.rb line 159 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::ShowExceptions

Type at least 2 characters to search.

↑↓ navigate · open · esc close