Interface IExtractableException
Marks an exception type as able to extract its metadata, so that these metadata can be stored as a part of TxFailure.
Namespace: Libplanet.Action
Assembly: Libplanet.dll
Syntax
public interface IExtractableException
Properties
| Improve this Doc View SourceMetadata
Metadata of the exception. It purposes to store these metadata as a part of TxFailure.
Declaration
IValue Metadata { get; }
Property Value
Type | Description |
---|---|
IValue |
Remarks
As every metadata becomes a part of blockchain, which is replicated database on the network, for the equivalent exception, the same metadata should be extracted.