constanting up error codes