UNPKG

@nestjs/microservices

Version:

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

10 lines (9 loc) • 291 B
import { RuntimeException } from '@nestjs/core/internal'; /** * @publicApi */ export class InvalidGrpcDecoratorException extends RuntimeException { constructor(metadata) { super(`The invalid gRPC decorator (method "${metadata.rpc}" in service "${metadata.service}")`); } }