Class: ActionDispatch::ShowExceptions
- Inherits:
-
Object
- Object
- ActionDispatch::ShowExceptions
- Defined in:
- lib/error-locator/action_dispatch_ext.rb
Overview
This middleware rescues any exception returned by the application and renders nice exception pages if it’s being rescued locally.
Constant Summary collapse
- RESCUES_TEMPLATE_PATH =
File.join(File.dirname(__FILE__), 'templates')
Instance Method Summary collapse
Instance Method Details
#full_trace(exception) ⇒ Object
10 11 12 |
# File 'lib/error-locator/action_dispatch_ext.rb', line 10 def full_trace(exception) exception.backtrace end |