[HapProcessStandard] Fix an issue that doesn't Arm's error code.