Sha256: e91675c191b343df1ec4eaac33de14e288473ad90815e3b1e5242d165a087822

Contents?: true

Size: 253 Bytes

Versions: 28

Compression:

Stored size: 253 Bytes

Contents

module ActionDispatch
  class ClosedError < StandardError #:nodoc:
    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
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
actionpack-3.1.12 lib/action_dispatch/middleware/closed_error.rb
actionpack-3.1.11 lib/action_dispatch/middleware/closed_error.rb
actionpack-3.1.10 lib/action_dispatch/middleware/closed_error.rb
actionpack-3.1.9 lib/action_dispatch/middleware/closed_error.rb
actionpack-3.1.8 lib/action_dispatch/middleware/closed_error.rb
actionpack-3.1.7 lib/action_dispatch/middleware/closed_error.rb
actionpack-3.1.6 lib/action_dispatch/middleware/closed_error.rb
actionpack-3.1.5 lib/action_dispatch/middleware/closed_error.rb
actionpack-3.1.5.rc1 lib/action_dispatch/middleware/closed_error.rb
actionpack-3.1.4 lib/action_dispatch/middleware/closed_error.rb
actionpack-3.1.4.rc1 lib/action_dispatch/middleware/closed_error.rb
actionpack-3.1.3 lib/action_dispatch/middleware/closed_error.rb
actionpack-3.1.2 lib/action_dispatch/middleware/closed_error.rb
actionpack-3.1.2.rc2 lib/action_dispatch/middleware/closed_error.rb
actionpack-3.1.2.rc1 lib/action_dispatch/middleware/closed_error.rb
actionpack-3.1.1 lib/action_dispatch/middleware/closed_error.rb
actionpack-3.1.1.rc3 lib/action_dispatch/middleware/closed_error.rb
actionpack-3.1.1.rc2 lib/action_dispatch/middleware/closed_error.rb
actionpack-3.1.1.rc1 lib/action_dispatch/middleware/closed_error.rb
actionpack-3.1.0 lib/action_dispatch/middleware/closed_error.rb