UNPKG

@nestjs/microservices

Version:

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

7 lines (6 loc) • 288 B
import { RuntimeException } from '@nestjs/core/internal'; export class InvalidGrpcPackageDefinitionMutexException extends RuntimeException { constructor() { super(`Invalid gRPC configuration. Both protoPath and packageDefinition cannot be defined at the same time.`); } }