11 lines
293 B
TypeScript
11 lines
293 B
TypeScript
import { TaggedError } from "@fabric/core";
|
|
|
|
export class CircularDependencyError
|
|
extends TaggedError<"CircularDependencyError"> {
|
|
context: { key: string; dep: string };
|
|
constructor(key: string, dep: string) {
|
|
super("CircularDependencyError");
|
|
this.context = { key, dep };
|
|
}
|
|
}
|