Class: Net::ReadTimeout
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Timeout::Error
|
|
Instance Chain:
self,
Timeout::Error
|
|
Inherits: |
Timeout::Error
|
Defined in: | lib/net/protocol.rb |
Overview
ReadTimeout
, a subclass of Timeout::Error
, is raised if a chunk of the response cannot be read within the read_timeout.
Class Method Summary
- .new(io = nil) ⇒ ReadTimeout constructor
Instance Attribute Summary
- #io readonly
Instance Method Summary
Constructor Details
.new(io = nil) ⇒ ReadTimeout
Instance Attribute Details
#io (readonly)
[ GitHub ]# File 'lib/net/protocol.rb', line 84
attr_reader :io
Instance Method Details
#message
[ GitHub ]# File 'lib/net/protocol.rb', line 86
def msg = super if @io msg = "#{msg} with #{@io.inspect}" end msg end