swap to UNIX errors