Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FeatureNotAvailableError

Indicates a feature which is not available was used. This primarily can occur if you attempt to perform a query when no query services are enabled on the cluster, or if a newer server feature which is not available in the connected server version is used.

Hierarchy

Index

Constructors

constructor

Properties

cause

cause: undefined | Error

Specifies the underlying cause of this error, if one is available.

context

Specifies additional contextual information which is available for this error. Depending on the service that generated it.

message

message: string

name

name: string

Optional stack

stack: string

Static Optional prepareStackTrace

prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any

Type declaration

    • (err: Error, stackTraces: CallSite[]): any
    • Optional override for formatting stack traces

      Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

Static stackTraceLimit

stackTraceLimit: number

Methods

Static captureStackTrace

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc