UNPKG

@nestjs/microservices

Version:

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

9 lines (8 loc) • 326 B
/** * @publicApi */ export class PendingMessagesTimeoutException extends Error { constructor(bufferedLength, timeout) { super(`The remote peer has too many messages being handled: reading from it was suspended and none of them settled in the last ${timeout}ms (${bufferedLength} character(s) waiting)`); } }