UNPKG

@nestjs/microservices

Version:

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

9 lines (8 loc) • 301 B
/** * @publicApi */ export class MaxSendBufferSizeExceededException extends Error { constructor(bufferedBytes, maxBufferSize) { super(`The remote peer is not reading its responses: ${bufferedBytes} byte(s) are queued for it, which exceeds the maximum allowed ${maxBufferSize}`); } }