UNPKG

@nestjs/core

Version:

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

11 lines (10 loc) 543 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const runtime_exception_1 = require("./runtime.exception"); class CircularDependencyException extends runtime_exception_1.RuntimeException { constructor(context) { const ctx = context ? ` inside ${context}` : ``; super(`A circular dependency has been detected${ctx}. Please, make sure that each side of a bidirectional relationships are decorated with "forwardRef()".`); } } exports.CircularDependencyException = CircularDependencyException;