UNPKG

@nestjs/microservices

Version:

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

9 lines (8 loc) • 289 B
/** * @publicApi */ export class DrainTimeoutException extends Error { constructor(bufferedBytes, timeout) { super(`The remote peer is not reading its responses: ${bufferedBytes} byte(s) are queued for it and none of them were written out in the last ${timeout}ms`); } }