Improve error message for unknown properties
This commit is contained in:
parent
9cde582732
commit
b45f6caf60
|
@ -1344,7 +1344,7 @@ public class Element extends Base {
|
|||
}
|
||||
}
|
||||
|
||||
throw new Error("Unrecognised name "+name+" on "+this.name);
|
||||
throw new Error("Unrecognised property '"+name+"' on "+this.name);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue