if you want to report an error use the ErrorManager and then throws a GssFunctionException:

```java
 errorManager.report(new GssError(message, functionToEval.getSourceCodeLocation()));
 throw new GssFunctionException(message, e);
```