@aptos-labs/ts-sdk - v3.1.1
    Preparing search index...

    Class KeylessError

    Hierarchy (View Summary)

    Index

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    • Static constructor that creates a KeylessError instance using the KeylessErrors constant

      Parameters

      • args: { details?: string; error?: unknown; type: KeylessErrorType }
        • Optionaldetails?: string

          optional details to include in the error message

        • Optionalerror?: unknown
        • type: KeylessErrorType

          The type of KeylessError

      Returns KeylessError

      A new KeylessError instance

    Properties

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

    Optional override for formatting stack traces

    stackTraceLimit: number