Exception: Ethon::Errors::MultiFdset
- Inherits:
-
EthonError
- Object
- StandardError
- EthonError
- Ethon::Errors::MultiFdset
- Defined in:
- lib/ethon/errors/multi_fdset.rb
Overview
Raises when multi_fdset failed.
Instance Method Summary collapse
-
#initialize(code) ⇒ MultiFdset
constructor
A new instance of MultiFdset.
Constructor Details
#initialize(code) ⇒ MultiFdset
Returns a new instance of MultiFdset.
6 7 8 9 |
# File 'lib/ethon/errors/multi_fdset.rb', line 6 def initialize(code) super("An error occured getting the fdset: #{code}") # "an error occured getting the fdset: #{code}: #{Curl.multi_strerror(code)}" end |