класс Net::ReadTimeout
ReadTimeout, подкласс Timeout::Error, вызывается, если фрагмент ответа не удаётся прочитать в течение времени ожидания чтения (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–2025 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.