Exception: Ethon::Errors::MultiTimeout

Inherits:
EthonError
  • Object
show all
Defined in:
lib/ethon/errors/multi_timeout.rb

Overview

Raised when multi_timeout failed.

Instance Method Summary collapse

Constructor Details

#initialize(code) ⇒ MultiTimeout


6
7
8
9
# File 'lib/ethon/errors/multi_timeout.rb', line 6

def initialize(code)
  super("An error occured getting the timeout: #{code}")
  # "An error occured getting the timeout: #{code}: #{Curl.multi_strerror(code)}"
end