Exception: Blitz::Traceroute::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Blitz::Traceroute::Error
- Defined in:
- lib/blitz/traceroute/error.rb
Overview
:nodoc:
Direct Known Subclasses
Defined Under Namespace
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/blitz/traceroute/error.rb', line 4 def initialize json={} super json['reason'] || "Hmmm, something went wrong. Try again in a little bit?" end |