Options
All
  • Public
  • Public/Protected
  • All
Menu

The error of mongo-cleaner when listing databases

Hierarchy

Index

Constructors

  • The constructor of the MongoCleanerListDatabasesError class.

    Parameters

    • Optional message: string

      The message of the error.

    • Optional triggerError: Error

      The original error that triggered this error.

    Returns MongoCleanerListDatabasesError

Properties

__proto__: Error
message: string
name: string
stack?: string
triggerError: null | Error

The error that happened

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

Type declaration

stackTraceLimit: number

Methods

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

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc