@sudoplatform/sudo-profiles

    Class SudoNotFoundInCacheError

    Error thrown when deleteSudo API is called without initializing the list query cache. Delete API relies on cached information to remove all the data related to a Sudo so it must be called after calling listSudos API to initialize the query and blob cache. The listSudos API is required to be called only once at any time during the lifetime of the client. Typically, this is already done since in order to delete a Sudo you need to retrieve its ID via listSudos.

    Hierarchy

    • Error
      • SudoNotFoundInCacheError
    Index

    Constructors

    Properties

    message: string
    name: string
    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

    MMNEPVFCICPMFPCPTTAAATR