UNPKG

506 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.UnknownElementException = void 0;
4const runtime_exception_1 = require("./runtime.exception");
5class UnknownElementException extends runtime_exception_1.RuntimeException {
6 constructor(name) {
7 name = name && name.toString();
8 super(`Nest could not find ${name || 'given'} element (this provider does not exist in the current context)`);
9 }
10}
11exports.UnknownElementException = UnknownElementException;