Exception: SSE::Errors::ReadTimeoutError
- Inherits:
-
StandardError
- Object
- StandardError
- SSE::Errors::ReadTimeoutError
- Defined in:
- lib/ld-eventsource/errors.rb
Overview
An exception class indicating that the client dropped the connection due to a read timeout. This means that the number of seconds specified by ‘read_timeout` in Client#initialize elapsed without receiving any data from the server.
Instance Method Summary collapse
-
#initialize(interval) ⇒ ReadTimeoutError
constructor
A new instance of ReadTimeoutError.
Constructor Details
#initialize(interval) ⇒ ReadTimeoutError
Returns a new instance of ReadTimeoutError.
62 63 64 |
# File 'lib/ld-eventsource/errors.rb', line 62 def initialize(interval) super("no data received in #{interval} seconds") end |