1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_dispatch/middleware/closed_error.rb
2011-04-06 15:45:23 -03:00

7 lines
253 B
Ruby

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