UNPKG

508 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.InvalidProtoDefinitionException = void 0;
4const runtime_exception_1 = require("@nestjs/core/errors/exceptions/runtime.exception");
5/**
6 * @publicApi
7 */
8class InvalidProtoDefinitionException extends runtime_exception_1.RuntimeException {
9 constructor(path) {
10 super(`The invalid .proto definition (file at "${path}" not found)`);
11 }
12}
13exports.InvalidProtoDefinitionException = InvalidProtoDefinitionException;