Exception: Collector::CollectorError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Collector::CollectorError
- Defined in:
- lib/collector/client.rb
Direct Known Subclasses
AuthorizationFailedError, InvalidInvoiceStatusError, InvalidTransactionAmountError, InvoiceNotFoundError
Instance Attribute Summary collapse
-
#faultcode ⇒ Object
readonly
Returns the value of attribute faultcode.
Instance Method Summary collapse
-
#initialize(faultcode, message) ⇒ CollectorError
constructor
A new instance of CollectorError.
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, ) super() @faultcode = faultcode end |
Instance Attribute Details
#faultcode ⇒ Object (readonly)
Returns the value of attribute faultcode.
12 13 14 |
# File 'lib/collector/client.rb', line 12 def faultcode @faultcode end |