UNPKG

postgres-pool

Version:

Node postgres connection pool implementation for node-pg

13 lines (9 loc) 274 B
export class PostgresPoolError extends Error { public code: string; public constructor(message: string, code: string) { super(message); this.name = 'PostgresPoolError'; this.code = code; Object.setPrototypeOf(this, PostgresPoolError.prototype); } }