UNPKG

@nestjs/websockets

Version:

WebSockets for NestJS: gateways with message handlers, guards, pipes and interceptors, on Socket.IO or ws.

7 lines (6 loc) • 223 B
import { RuntimeException } from '@nestjs/core/internal'; export class InvalidSocketPortException extends RuntimeException { constructor(port, type) { super(`Invalid port (${port}) in gateway ${type}`); } }