Exception: Blitz::Traceroute::Error::Region

Inherits:
Blitz::Traceroute::Error show all
Defined in:
lib/blitz/traceroute/error.rb

Overview

The base class for all exceptions thrown by the distributed engines

Direct Known Subclasses

DNS, Parse

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ Region

:nodoc:



13
14
15
16
# File 'lib/blitz/traceroute/error.rb', line 13

def initialize json # :nodoc:
    @region = json['region']
    super
end

Instance Attribute Details

#regionObject (readonly)

The region from which the test was run



11
12
13
# File 'lib/blitz/traceroute/error.rb', line 11

def region
  @region
end