mirror of
https://github.com/nestjs/nest.git
synced 2026-02-24 00:02:56 +00:00
8 lines
266 B
TypeScript
8 lines
266 B
TypeScript
import { RuntimeException } from './runtime.exception';
|
|
import { InvalidMiddlewareMessage } from '../messages';
|
|
|
|
export class InvalidMiddlewareException extends RuntimeException {
|
|
constructor(name: string) {
|
|
super(InvalidMiddlewareMessage(name));
|
|
}
|
|
} |