mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
8 lines
265 B
TypeScript
8 lines
265 B
TypeScript
import { RuntimeException } from '@nestjs/core/errors/exceptions/runtime.exception';
|
|
|
|
export class InvalidSocketPortException extends RuntimeException {
|
|
constructor(port: number | string, type: any) {
|
|
super(`Invalid port (${port}) in gateway ${type}`);
|
|
}
|
|
}
|