We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b8ba68 commit 9377e98Copy full SHA for 9377e98
src/model/model.ts
@@ -280,7 +280,7 @@ export abstract class Node extends Origin implements Destination {
280
return this.doGetAttribute(name);
281
}
282
} else {
283
- throw new Error(name.toString() + " is not a feature.");
+ throw new Error(`${name.toString()} is not a feature of ${this} (${this.nodeDefinition}).`);
284
285
286
@@ -294,7 +294,7 @@ export abstract class Node extends Origin implements Destination {
294
this.doSetAttribute(name, value);
295
296
297
298
299
300
0 commit comments