fix: build error

This commit is contained in:
ghy
2025-09-05 14:09:36 +08:00
committed by GitHub
parent 05f5c3633f
commit 0bfd43cdd7

View File

@@ -1,7 +1,7 @@
import { RuntimeException } from '@nestjs/core/errors/exceptions/runtime.exception';
export class InvalidTcpDataReceptionException extends RuntimeException {
constructor(name: string) {
constructor(err: string) {
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);
}