Exception: PolarLoop::TransactionFailedError
- Defined in:
- lib/polarloop/errors.rb
Instance Attribute Summary collapse
-
#receipt ⇒ Object
readonly
Returns the value of attribute receipt.
-
#tx_hash ⇒ Object
readonly
Returns the value of attribute tx_hash.
Instance Method Summary collapse
-
#initialize(message, tx_hash: nil, receipt: nil) ⇒ TransactionFailedError
constructor
A new instance of TransactionFailedError.
Constructor Details
#initialize(message, tx_hash: nil, receipt: nil) ⇒ TransactionFailedError
Returns a new instance of TransactionFailedError.
32 33 34 35 36 |
# File 'lib/polarloop/errors.rb', line 32 def initialize(, tx_hash: nil, receipt: nil) @tx_hash = tx_hash @receipt = receipt super() end |
Instance Attribute Details
#receipt ⇒ Object (readonly)
Returns the value of attribute receipt.
30 31 32 |
# File 'lib/polarloop/errors.rb', line 30 def receipt @receipt end |
#tx_hash ⇒ Object (readonly)
Returns the value of attribute tx_hash.
30 31 32 |
# File 'lib/polarloop/errors.rb', line 30 def tx_hash @tx_hash end |