UNPKG

@mikro-orm/core

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.

7 lines (6 loc) 299 B
import type { Dictionary } from '../typings.js'; import { DriverException } from '../exceptions.js'; /** Converts native database errors into standardized DriverException instances. */ export declare class ExceptionConverter { convertException(exception: Error & Dictionary): DriverException; }