avoid eval errors and add more examples in error handling

1. wrap evals errors in `comment (...)`
2. added sample code and notes on exceptions