Show / Hide Table of Contents

Class ExtractableException

Extension methods for IExtractableException and other Exceptions that do not implement IExtractableException.

Inheritance
Object
ExtractableException
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Libplanet.Action
Assembly: Libplanet.dll
Syntax
public static class ExtractableException

Methods

| Improve this Doc View Source

ExtractMetadata(Exception)

Extracts metadata from any exception in a general way.

Declaration
[Pure]
public static IValue? ExtractMetadata(this Exception exception)
Parameters
Type Name Description
Exception exception

An exception to extract its metadata from.

Returns
Type Description
Nullable<IValue>

Extracted metadata. If there is not its metadata at all, or it does not support metadata extraction, it can return null instead.

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