Exception: Curl::Error

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/curl-multi.rb

Instance Method Summary collapse

Constructor Details

#initialize(code) ⇒ Error

Returns a new instance of Error.



26
27
28
# File 'lib/curl-multi.rb', line 26

def initialize(code)
  super("Curl error #{code}")
end