All files / websockets/exceptions invalid-socket-port.exception.ts

100% Statements 3/3
100% Branches 0/0
100% Functions 1/1
100% Lines 3/3
1 2 3 4 5 6 7 81x   1x   1x      
import { RuntimeException } from '@nestjs/core/errors/exceptions/runtime.exception';
 
export class InvalidSocketPortException extends RuntimeException {
  constructor(port, type) {
    super(`Invalid port (${port}) in Gateway ${type}!`);
  }
}