nestjs-mapped-exception
Version:
Mapped Exceptions for NestJS
13 lines • 485 B
TypeScript
import { MappedExceptionOptions } from './mapped-exception.module';
export declare class MappedException<T> {
ERRORS: T;
private options;
constructor(exception: any, options: MappedExceptionOptions);
private setupExceptions;
private isValidMappedExceptionItemOrFail;
private getThrowFunction;
private getExceptionItemCode;
private generateExceptionItemCode;
private suffixFromExceptionInstance;
}
//# sourceMappingURL=mapped-exception.class.d.ts.map