类 Net::ReadTimeout
ReadTimeout
是 Timeout::Error
的一个子类,如果在 read_timeout 时间内无法读取响应的某个块,则会引发此错误。
属性
公共类方法
公共实例方法
源
# File lib/net/protocol.rb, line 86 def message msg = super if @io msg = "#{msg} with #{@io.inspect}" end msg end
调用父类方法
Exception#message