@opentdf/sdk
    Preparing search index...

    Class TdfError

    Root class for all errors thrown by this library. This should not be thrown directly, but rather one of its subclasses.

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • Optionalmessage: string
      • Optionalcause: Error

      Returns TdfError

    Properties

    cause?: unknown
    message: string
    name: string = 'TdfError'
    stack?: string
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    stackTraceLimit: number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void