method
new
v3.1.0 -
Show latest stable
- Class:
ActionDispatch::ClosedError
new(kind)public
No documentation available.
# 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