UNPKG

@nestjs/core

Version:

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

16 lines (15 loc) 679 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UnknownDependenciesException = void 0; const messages_1 = require("../messages"); const runtime_exception_1 = require("./runtime.exception"); class UnknownDependenciesException extends runtime_exception_1.RuntimeException { constructor(type, context, moduleRef, metadata) { super((0, messages_1.UNKNOWN_DEPENDENCIES_MESSAGE)(type, context, moduleRef)); this.type = type; this.context = context; this.metadata = metadata; this.moduleRef = moduleRef && { id: moduleRef.id }; } } exports.UnknownDependenciesException = UnknownDependenciesException;