Exception: SensuPluginsGraphite::GraphiteProxy::ProxyError
- Inherits:
-
StandardError
- Object
- StandardError
- SensuPluginsGraphite::GraphiteProxy::ProxyError
- Defined in:
- lib/sensu-plugins-graphite/graphite_proxy/proxy.rb
Instance Attribute Summary collapse
-
#exception ⇒ Object
Returns the value of attribute exception.
Instance Method Summary collapse
-
#initialize(msg, args) ⇒ ProxyError
constructor
A new instance of ProxyError.
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
#exception ⇒ Object
Returns the value of attribute exception.
6 7 8 |
# File 'lib/sensu-plugins-graphite/graphite_proxy/proxy.rb', line 6 def exception @exception end |