Template updated to showcase error handling.