Exception: Blitz::Curl::Error::Region

Inherits:
Blitz::Curl::Error show all
Defined in:
lib/blitz/curl/error.rb

Overview

The base class for all exceptions thrown by the distributed scale engines

Direct Known Subclasses

DNS, Parse, Step

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ Region

:nodoc:



40
41
42
43
# File 'lib/blitz/curl/error.rb', line 40

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

Instance Attribute Details

#regionObject (readonly)

The region from which the test was run



38
39
40
# File 'lib/blitz/curl/error.rb', line 38

def region
  @region
end