mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
8 lines
253 B
Ruby
8 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
|