Verify if error is not None