An exception thrown when certain operations are attempted on a collection that does not exist.

Field

keyspace - The keyspace that the collection was not found in

Field

collectionName - The name of the collection that was not found

Hierarchy (view full)

Constructors

Properties

collectionName: string

The name of the collection that is not found.

keyspace: string

The keyspace where the collection is not found.

message: string
name: string
namespace: string

The keyspace where the collection is not found.

This is now a deprecated alias for the strictly equivalent CollectionNotFoundError.keyspace, and will be removed in an upcoming major version.

https://docs.datastax.com/en/astra-db-serverless/api-reference/client-versions.html#version-1-5

Deprecated

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

Optional override for formatting stack traces

Type declaration

    • (err, stackTraces): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void