Exception: ActionDispatch::ClosedError

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

Overview

:nodoc:

Instance Method Summary (collapse)

Constructor Details

- (ClosedError) initialize(kind)

Returns a new instance of ClosedError



3
4
5
# File 'actionpack/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