Exception: ActionDispatch::ClosedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/action_dispatch/middleware/closed_error.rb

Overview

:nodoc:

Instance Method Summary collapse

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