mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
fix:lint
lint fix at local
This commit is contained in:
@@ -2,8 +2,8 @@ import { RuntimeException } from '@nestjs/core/errors/exceptions/runtime.excepti
|
||||
|
||||
export class InvalidTcpDataReceptionException extends RuntimeException {
|
||||
constructor(err: string) {
|
||||
const _errMsg = err.includes('Corrupted length value')
|
||||
? `Corrupted length value of the received data supplied in a packet`
|
||||
const _errMsg = err.includes('Corrupted length value')
|
||||
? `Corrupted length value of the received data supplied in a packet`
|
||||
: `The invalid received message from tcp server`;
|
||||
super(_errMsg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user