Class: NdrError::Middleware::PublicExceptions
- Defined in:
- lib/ndr_error/middleware/public_exceptions.rb
Overview
Middleware for logging exceptions, can be used as exception_app for Rails.
Instance Method Summary collapse
-
#initialize(public_path) ⇒ PublicExceptions
constructor
A new instance of PublicExceptions.
Methods inherited from Recorder
Constructor Details
#initialize(public_path) ⇒ PublicExceptions
Returns a new instance of PublicExceptions.
5 6 7 |
# File 'lib/ndr_error/middleware/public_exceptions.rb', line 5 def initialize(public_path) super ::ActionDispatch::PublicExceptions.new(public_path) end |