Exception: Mu::Curl::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/mu/curl/error.rb

Direct Known Subclasses

Authorize, Region

Defined Under Namespace

Classes: Authorize, Connect, DNS, Region, Status, Timeout

Instance Method Summary collapse

Constructor Details

#initialize(json = {}) ⇒ Error

Returns a new instance of Error.



4
5
6
# File 'lib/mu/curl/error.rb', line 4

def initialize json={}
    super json['reason'] || "Hmmm, something went wrong. Try again in a little bit?"
end