DOC: Added error handling example
Merge pull request #484 from srossross/error_handling

[merge] Added error handling example