@nestjs/core
Version:
Nest - modern, fast, powerful node.js web framework (@core)
12 lines (11 loc) • 506 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.UnknownElementException = void 0;
const runtime_exception_1 = require("./runtime.exception");
class UnknownElementException extends runtime_exception_1.RuntimeException {
constructor(name) {
name = name && name.toString();
super(`Nest could not find ${name || 'given'} element (this provider does not exist in the current context)`);
}
}
exports.UnknownElementException = UnknownElementException;
;