1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.CircularDependencyException = void 0;
|
4 | const runtime_exception_1 = require("./runtime.exception");
|
5 | class CircularDependencyException extends runtime_exception_1.RuntimeException {
|
6 | constructor(context) {
|
7 | const ctx = context ? ` inside ${context}` : ``;
|
8 | super(`A circular dependency has been detected${ctx}. Please, make sure that each side of a bidirectional relationships are decorated with "forwardRef()".`);
|
9 | }
|
10 | }
|
11 | exports.CircularDependencyException = CircularDependencyException;
|