UNPKG

@nestjs/microservices

Version:

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

9 lines (8 loc) • 251 B
/** * @publicApi */ export class MaxRmqShortStringLengthExceededException extends Error { constructor(field, length, maxLength) { super(`The RMQ ${field} length (${length} bytes) exceeds the maximum allowed ${maxLength} bytes`); } }