14 lines
342 B
Ruby
14 lines
342 B
Ruby
# frozen_string_literal: true
|
|
module Ethon
|
|
module Errors
|
|
|
|
# Raised when multi_timeout failed.
|
|
class MultiTimeout < EthonError
|
|
def initialize(code)
|
|
super("An error occured getting the timeout: #{code}")
|
|
# "An error occured getting the timeout: #{code}: #{Curl.multi_strerror(code)}"
|
|
end
|
|
end
|
|
end
|
|
end
|