make some error types in a few packages R=r DELTA=110 (25 added, 46 deleted, 39 changed) OCL=28382 CL=28561