/
githubmirror
/
nest
Обзор
Документация
Войти
/
githubmirror
/
nest
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
packages/websockets/errors/invalid-socket-port.exception.ts
7 строк
265 B
Kamil Myśliwiec
feature(websockets) extract web sockets drivers
13 дек 2018, 01:35
Не верифицирован
13 дек 2018, 01:35
53687ba
Код
Авторство
О чём код?
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}`); } }