Class VechainSDKError<TErrorDataType>

Generic error class for SDK errors.

Each error of SDK should extend this class. And, then, error must redefine properly the TErrorDataType generic type. In this way, the error will have a specific data type.

Type Parameters

  • TErrorDataType

Hierarchy (view full)

Constructors

Properties

errorMessage: string
innerError?: unknown
methodName: string