Added error codes to constants.h