Show / Hide Table of Contents

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.

Inheritance
Object
Exception
ConsensusException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class ConsensusException : Exception, ISerializable

Constructors

| Improve this Doc View Source

ConsensusException(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 Source

Status

The final ResponseCode returned by the network prior to transaction request expiration.

Declaration
public ResponseCode Status { get; }
Property Value
Type Description
ResponseCode
| Improve this Doc View Source

TxId

The Transaction ID generated by the library (or client code) identifying the request.

Declaration
public TxId TxId { get; }
Property Value
Type Description
TxId

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
In This Article
Back to top .NET Client Library for Hedera Hashgraph