Show / Hide Table of Contents

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 Source

Metadata

Metadata of the exception. It purposes to store these metadata as a part of TxFailure.

Declaration
[Pure]
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.

See Also

ExceptionMetadata
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2021 Planetarium