Exception: Fabric::TransactionError
- Defined in:
- lib/fabric/error.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(status) ⇒ TransactionError
constructor
A new instance of TransactionError.
Methods inherited from Error
Constructor Details
#initialize(status) ⇒ TransactionError
Returns a new instance of TransactionError.
44 45 46 |
# File 'lib/fabric/error.rb', line 44 def initialize(status) super "Transaction failed (#{status})", "TX_STATUS_#{status}" end |