@nestjs/core
Version:
The core of NestJS, a TypeScript framework for Node.js backends: modules, dependency injection and the request pipeline, on Express, Fastify or node:http.
10 lines (9 loc) • 372 B
JavaScript
import { RuntimeException } from './runtime.exception.js';
import { INVALID_MIDDLEWARE_CONFIGURATION } from '../messages.js';
export class InvalidMiddlewareConfigurationException extends RuntimeException {
constructor(reason) {
super(reason
? `${INVALID_MIDDLEWARE_CONFIGURATION} ${reason}`
: INVALID_MIDDLEWARE_CONFIGURATION);
}
}