Add explanation of error handling