Add example for error handling. #15
Fix variable name
Merge pull request #31 from tmaier/patch-1

Add example for error handling. #15 [ci skip]