We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7006f7 commit 5de7d1cCopy full SHA for 5de7d1c
packages/core/src/errors.ts
@@ -1,6 +1,6 @@
1
export class NodeNotFoundError extends Error {
2
constructor(context: string, options: { cause?: Error } = {}) {
3
- super(`Node not found: ${context}`);
+ super(`Node not found: ${context}`, options);
4
this.name = "NodeNotFoundError";
5
}
6
0 commit comments