Use "!= 0" instead of "< 0" when handling yaca errors