UNPKG

@nestjs/microservices

Version:

Nest - modern, fast, powerful node.js web framework (@microservices)

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}")`); } }