Error handling logic done. Completed core challenge requirements