Errors returned by the HSM or the library

Hierarchy

  • Error
    • HsmError

Constructors

  • Parameters

    • message: string
    • OptionalerrorCode: number

    Returns HsmError

Properties

prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

stackTraceLimit: number
message: string
errorCode: number
name: string
stack?: string

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void

  • Returns string