DOC: Added error handling example