Improved error handling for most calculations

This commit is contained in:
Stefan Zermatten
2021-02-12 11:00:44 +02:00
parent fed87f0a84
commit 2b345c1f77
12 changed files with 80 additions and 201 deletions

View File

@@ -16,6 +16,6 @@ export default class ErrorNode extends ParseNode {
return this;
}
toString(){
return '###';
return this.error.toString();
}
}