Class ConsensusException
Exception thrown when a network call was accepted by the gateway node but did not achieve network consensus before the expiration timeout of the transaction request occurred.
Implements
Inherited Members
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class ConsensusException : Exception, ISerializable
Constructors
| Improve this Doc View SourceConsensusException(String, TxId, ResponseCode)
Public Constructor.
Declaration
public ConsensusException(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 final 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 |