Fix error lookup for non "sys." codes