Added sample code for error handling