Class MongoCleanerListCollectionsError

The error of mongo-cleaner when listing collections

Hierarchy

Constructors

Properties

Constructors

  • The constructor of the MongoCleanerListCollectionsError class.

    Parameters

    • Optional message: string

      The message of the error.

    • Optional database: string

      The database whose collections were to be listed.

    • Optional triggerError: Error

      The original error that triggered this error.

    Returns MongoCleanerListCollectionsError

Properties

database: null | string

Database whose collections failed to be listed

triggerError: null | Error

The error that happened

Generated using TypeDoc