Exception: SensuPluginsGraphite::GraphiteProxy::ProxyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sensu-plugins-graphite/graphite_proxy/proxy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, args) ⇒ ProxyError

Returns a new instance of ProxyError.



8
9
10
11
# File 'lib/sensu-plugins-graphite/graphite_proxy/proxy.rb', line 8

def initialize(msg, args)
  self.exception = args[:exception]
  super msg
end

Instance Attribute Details

#exceptionObject

Returns the value of attribute exception.



6
7
8
# File 'lib/sensu-plugins-graphite/graphite_proxy/proxy.rb', line 6

def exception
  @exception
end