Exception: Gandi::FaultCodeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/gandi/errors.rb

Direct Known Subclasses

DataError, ServerError, UnknownError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, fault_code) ⇒ FaultCodeError

Returns a new instance of FaultCodeError.



5
6
7
8
# File 'lib/gandi/errors.rb', line 5

def initialize(msg, fault_code)
  super msg
  @fault_code = fault_code
end

Instance Attribute Details

#fault_codeObject (readonly)

Returns the value of attribute fault_code.



3
4
5
# File 'lib/gandi/errors.rb', line 3

def fault_code
  @fault_code
end