Class CurrencyPermissionException
The exception that is thrown when a TransactionSigner has no rights to mint a Currency or burn assets of a Currency.
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.HResult
System.Exception.StackTrace
Namespace: Libplanet.Action.State
Assembly: Libplanet.Action.dll
Syntax
[Serializable]
public sealed class CurrencyPermissionException : Exception, ISerializable
Constructors
| Improve this Doc View SourceCurrencyPermissionException(String, Address, Currency)
Creates a new CurrencyPermissionException object.
Declaration
public CurrencyPermissionException(string message, Address transactionSigner, Currency currency)
Parameters
Type | Name | Description |
---|---|---|
String | message | Specifies a Message. |
Address | transactionSigner | The address of the account who tried to mint or burn
assets of a |
Currency | currency | The |
See Also
Properties
| Improve this Doc View SourceCurrency
The
Declaration
public Currency Currency { get; }
Property Value
Type | Description |
---|---|
Currency |
See Also
TransactionSigner
The address of the account who tried to mint or burn assets of a Currency.
Declaration
public Address TransactionSigner { get; }
Property Value
Type | Description |
---|---|
Address |
See Also
Implements
System.Runtime.Serialization.ISerializable