Exception: ActionDispatch::ClosedError
- Inherits:
-
StandardError
- Object
- StandardError
- ActionDispatch::ClosedError
- Defined in:
- lib/action_dispatch/middleware/closed_error.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(kind) ⇒ ClosedError
constructor
A new instance of ClosedError.
Constructor Details
#initialize(kind) ⇒ ClosedError
Returns a new instance of ClosedError.
3 4 5 |
# File 'lib/action_dispatch/middleware/closed_error.rb', line 3 def initialize(kind) super "Cannot modify #{kind} because it was closed. This means it was already streamed back to the client or converted to HTTP headers." end |