UNPKG

914 BSource Map (JSON)View Raw
1{"version":3,"sources":["../../src/error/CircularRelationsError.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH;IAA4C,kDAAK;IAG7C,gCAAY,IAAY;QAAxB,YACI,iBAAO,SAGV;QAND,UAAI,GAAG,wBAAwB,CAAC;QAI5B,MAAM,CAAC,cAAc,CAAC,KAAI,EAAE,sBAAsB,CAAC,SAAS,CAAC,CAAC;QAC9D,KAAI,CAAC,OAAO,GAAG,kCAAgC,IAAI,oGAAiG,CAAC;;IACzJ,CAAC;IAEL,6BAAC;AAAD,CATA,AASC,CAT2C,KAAK,GAShD;AATY,wDAAsB","file":"CircularRelationsError.js","sourcesContent":["/**\n * Thrown when circular relations detected with nullable set to false.\n */\nexport class CircularRelationsError extends Error {\n name = \"CircularRelationsError\";\n\n constructor(path: string) {\n super();\n Object.setPrototypeOf(this, CircularRelationsError.prototype);\n this.message = `Circular relations detected: ${path}. To resolve this issue you need to set nullable: false somewhere in this dependency structure.`;\n }\n\n}"],"sourceRoot":".."}
\No newline at end of file