Exception: Fabric::TransactionError

Inherits:
Error
  • Object
show all
Defined in:
lib/fabric/error.rb

Instance Attribute Summary

Attributes inherited from Error

#code, #errors

Instance Method Summary collapse

Methods inherited from Error

#response

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