Sha256: 44caa2f45889ae1a47327f83482e510b85381b61cf9d5198ca2ed2a6e14e03fb
Contents?: true
Size: 506 Bytes
Versions: 6
Compression:
Stored size: 506 Bytes
Contents
module TweetStream class Terminated < ::StandardError; end class Error < ::StandardError; end class ConnectionError < TweetStream::Error; end # A ReconnectError is raised when the maximum number of retries has # failed to re-establish a connection. class ReconnectError < StandardError attr_accessor :timeout, :retries def initialize(timeout, retries) self.timeout = timeout self.retries = retries super("Failed to reconnect after #{retries} tries.") end end end
Version data entries
6 entries across 6 versions & 1 rubygems