Files
nest/packages/websockets/errors/invalid-socket-port.exception.ts
2018-12-12 23:35:27 +01:00

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}`);
}
}