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

Returns a new instance of MultiTimeout.


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

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