UNPKG

@nestjs/microservices

Version:

Microservices for NestJS: message and event handlers over Kafka, RabbitMQ, NATS, Redis, MQTT, gRPC or TCP.

9 lines (8 loc) • 297 B
/** * @publicApi */ export class IncompleteMessageTimeoutException extends Error { constructor(bufferedLength, timeout) { super(`The remote peer stopped sending in the middle of a packet (${bufferedLength} character(s) buffered) and did not send anything for ${timeout}ms`); } }