UNPKG

@nestjs/microservices

Version:

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

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