@mikro-orm/mongodb
Version:
TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.
8 lines (7 loc) • 334 B
TypeScript
import { ExceptionConverter, type Dictionary, type DriverException } from '@mikro-orm/core';
export declare class MongoExceptionConverter extends ExceptionConverter {
/**
* @link https://gist.github.com/rluvaton/a97a8da46ab6541a3e5702e83b9d357b
*/
convertException(exception: Error & Dictionary): DriverException;
}