Source: show | on GitHub
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 27 def initialize(env, exception) @env = env @exception = original_exception(exception) end
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 40 def application_trace clean_backtrace(:silent) end
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 44 def framework_trace clean_backtrace(:noise) end
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 48 def full_trace clean_backtrace(:all) end
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 32 def rescue_template @@rescue_templates[@exception.class.name] end
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 36 def status_code Rack::Utils.status_code(@@rescue_responses[@exception.class.name]) end