Exception: Collector::CollectorError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/collector/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(faultcode, message) ⇒ CollectorError

Returns a new instance of CollectorError.



13
14
15
16
# File 'lib/collector/client.rb', line 13

def initialize(faultcode, message)
  super(message)
  @faultcode = faultcode
end

Instance Attribute Details

#faultcodeObject (readonly)

Returns the value of attribute faultcode.



12
13
14
# File 'lib/collector/client.rb', line 12

def faultcode
  @faultcode
end