nestjs-mapped-exception
Version:
Mapped Exceptions for NestJS
16 lines • 530 B
TypeScript
import { MappedExceptionItem } from './types/mapped-exceptions-item.class';
export declare const DEFAULT_EXCEPTIONS: {
DEFAULT: MappedExceptionItem;
DATABASE: {
DEFAULT: MappedExceptionItem;
};
VALIDATION: {
DEFAULT: MappedExceptionItem;
INVALID_TYPE: MappedExceptionItem;
};
OPERATION: {
DEFAULT: MappedExceptionItem;
};
Custom: (exception: MappedExceptionItem | string, code: number) => MappedExceptionItem;
};
//# sourceMappingURL=mapped-exception.errors.d.ts.map