The constructor of the MongoCleanerError class.
Optional
message: stringThe message of the error.
Optional
database: stringThe database that was attempted to be cleaned.
Optional
collection: stringThe collection that was attempted to be cleaned.
Optional
triggerError: ErrorThe original error that triggered this error.
The collection that cannot be dropped or emptied. Null, if the problem is with a database
The database that cannot be dropped or whose collection cannot be dropped/emptied
The error that happened
Generated using TypeDoc
The error thrown when the MongoDB is not totally cleaned