Exception: Blitz::Traceroute::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/blitz/traceroute/error.rb

Overview

:nodoc:

Direct Known Subclasses

Region

Defined Under Namespace

Classes: DNS, Parse, Region

Instance Method Summary collapse

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