Description

Errors returned by the HSM or the library

Hierarchy

  • Error
    • HsmError

Constructors

  • Parameters

    • message: string
    • Optional errorCode: number

    Returns HsmError

Properties

errorCode: number
message: string
name: string
stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number

Methods

  • Returns string

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void