Moved error codes to cderr.h.

6 files changed