1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.UnknownElementException = void 0;
|
4 | const runtime_exception_1 = require("./runtime.exception");
|
5 | class 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 | }
|
11 | exports.UnknownElementException = UnknownElementException;
|