method

new

rails latest stable - Class: ActionDispatch::ClosedError

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.1.0) is shown here.

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