Support for errors in expressions, fixes #49.