- Error handling.