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

Constructors

Properties

message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc