UNPKG

@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.

8 lines (7 loc) • 272 B
import { INVALID_MIDDLEWARE_MESSAGE } from '../messages.js'; import { RuntimeException } from './runtime.exception.js'; export class InvalidMiddlewareException extends RuntimeException { constructor(name) { super(INVALID_MIDDLEWARE_MESSAGE `${name}`); } }