Exception: Buckaruby::NonCancellableTransactionException
- Inherits:
-
BuckarooException
- Object
- StandardError
- BuckarooException
- Buckaruby::NonCancellableTransactionException
- Defined in:
- lib/buckaruby/exception.rb
Overview
Exception raised when trying to cancel a non cancellable transaction.
Instance Attribute Summary collapse
-
#transaction_id ⇒ Object
readonly
Returns the value of attribute transaction_id.
Instance Method Summary collapse
-
#initialize(transaction_id) ⇒ NonCancellableTransactionException
constructor
A new instance of NonCancellableTransactionException.
Constructor Details
#initialize(transaction_id) ⇒ NonCancellableTransactionException
Returns a new instance of NonCancellableTransactionException.
89 90 91 92 93 94 |
# File 'lib/buckaruby/exception.rb', line 89 def initialize(transaction_id) @transaction_id = transaction_id = "Not a cancellable transaction: #{transaction_id}" super() end |
Instance Attribute Details
#transaction_id ⇒ Object (readonly)
Returns the value of attribute transaction_id.
87 88 89 |
# File 'lib/buckaruby/exception.rb', line 87 def transaction_id @transaction_id end |