ReadTimeout
, a subclass of Timeout::Error
, is raised if a chunk of the response cannot be read within the read_timeout.
# File lib/net/protocol.rb, line 81 def initialize(io = nil) @io = io end
# File lib/net/protocol.rb, line 86 def message msg = super if @io msg = "#{msg} with #{@io.inspect}" end msg end
Exception#message
Ruby Core © 1993–2020 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.