This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user