Exception: Gandi::FaultCodeError
- Inherits:
-
StandardError
- Object
- StandardError
- Gandi::FaultCodeError
- Defined in:
- lib/gandi/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#fault_code ⇒ Object
readonly
Returns the value of attribute fault_code.
Instance Method Summary collapse
-
#initialize(msg, fault_code) ⇒ FaultCodeError
constructor
A new instance of FaultCodeError.
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_code ⇒ Object (readonly)
Returns the value of attribute fault_code.
3 4 5 |
# File 'lib/gandi/errors.rb', line 3 def fault_code @fault_code end |