class Rex::StreamClosedError
This error is thrown when a stream is detected as being closed.
Public Class Methods
new(stream)
click to toggle source
# File lib/rex/exceptions.rb, line 108 def initialize(stream) @stream = stream end
Public Instance Methods
stream()
click to toggle source
# File lib/rex/exceptions.rb, line 112 def stream @stream end
to_s()
click to toggle source
# File lib/rex/exceptions.rb, line 116 def to_s "Stream #{@stream} is closed." end