added error codes to error c,h