Class MongoCleanerConnectionError

The error of a problem with mongo-cleaner when connecting to MongoDB

Hierarchy

Constructors

Properties

Constructors

  • The constructor of the MongoCleanerConnectionOptions class.

    Parameters

    • Optional message: string

      The message of the error.

    • Optional uri: string

      The uri of the MongoDB connection that caused the error.

    • Optional connectionOptions: MongoClientOptions

      The options of the MongoDB connection that caused the error.

    • Optional triggerError: Error

      The original error that triggered this error.

    Returns MongoCleanerConnectionError

Properties

connectionOptions: null | MongoClientOptions

The MongoClient connection-options of the failed connection

triggerError: null | Error

The error that happened

uri: null | string

The uri of the failed connection

Generated using TypeDoc