1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.CircularDependencyException = void 0;
|
4 | class CircularDependencyException extends Error {
|
5 | constructor(context) {
|
6 | const ctx = context ? ` inside ${context}` : ``;
|
7 | super(`A circular dependency has been detected${ctx}. Please, make sure that each side of a bidirectional relationships are decorated with "forwardRef()". Also, try to eliminate barrel files because they can lead to an unexpected behavior too.`);
|
8 | }
|
9 | }
|
10 | exports.CircularDependencyException = CircularDependencyException;
|