Exception: Mu::Curl::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Mu::Curl::Error
- Defined in:
- lib/mu/curl/error.rb
Defined Under Namespace
Classes: Authorize, Connect, DNS, Region, Status, Timeout
Instance Method Summary collapse
-
#initialize(json = {}) ⇒ Error
constructor
A new instance of Error.
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 |