Class InvalidTxNonceException
The exception that is thrown when the Nonce
is different from Get
Inherited Members
Namespace: Libplanet.Tx
Assembly: Libplanet.dll
Syntax
public sealed class InvalidTxNonceException : InvalidTxException
Constructors
| Improve this Doc View SourceInvalidTxNonceException(TxId, Int64, Int64, String)
Initializes a new instance of the
Invalid
Declaration
public InvalidTxNonceException(TxId txid, long expectedNonce, long improperNonce, string message)
Parameters
Type | Name | Description |
---|---|---|
Tx |
txid | The invalid Transaction<T>'s
Id. It is automatically included to
the |
Int64 | expectedNonce | Get |
Int64 | improperNonce | The actual Nonce. |
String | message | The message that describes the error. |
Properties
| Improve this Doc View SourceExpectedNonce
Get
Declaration
public long ExpectedNonce { get; }
Property Value
Type | Description |
---|---|
Int64 |
ImproperNonce
The actual Nonce, which is improper.
Declaration
public long ImproperNonce { get; }
Property Value
Type | Description |
---|---|
Int64 |