Exception: Ethon::Errors::MultiTimeout
- Inherits:
-
EthonError
- Object
- StandardError
- EthonError
- Ethon::Errors::MultiTimeout
- Defined in:
- lib/ethon/errors/multi_timeout.rb
Overview
Raised when multi_timeout failed.
Instance Method Summary collapse
-
#initialize(code) ⇒ MultiTimeout
constructor
A new instance of MultiTimeout.
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 |