UNPKG

@nestjs/microservices

Version:

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

14 lines (13 loc) 531 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InvalidGrpcDecoratorException = void 0; const runtime_exception_1 = require("@nestjs/core/errors/exceptions/runtime.exception"); /** * @publicApi */ class InvalidGrpcDecoratorException extends runtime_exception_1.RuntimeException { constructor(metadata) { super(`The invalid gRPC decorator (method "${metadata.rpc}" in service "${metadata.service}")`); } } exports.InvalidGrpcDecoratorException = InvalidGrpcDecoratorException;