Class TransactionException
Represents an error with a transaction that passed the gateway node pre-check and was processed by the network but did not succeed.
Implements
Inherited Members
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class TransactionException : Exception, ISerializable
Constructors
| Improve this Doc View SourceTransactionException(String, TxId, ResponseCode)
Public Constructor.
Declaration
public TransactionException(string message, TxId transaction, ResponseCode code)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message generated by the library describing the condition that raised the exception. |
TxId | transaction | The Transaction ID of the request that failed. |
ResponseCode | code | The final ResponseCode returned by the network prior to transaction request expiration. |
Properties
| Improve this Doc View SourceStatus
The ResponseCode returned by the network. prior to transaction request expiration.
Declaration
public ResponseCode Status { get; }
Property Value
Type | Description |
---|---|
ResponseCode |
TxId
The Transaction ID generated by the library (or client code) identifying the request.
Declaration
public TxId TxId { get; }
Property Value
Type | Description |
---|---|
TxId |