Checking error handling condition in success.