Error code definition optimization

export const ERROR_CODE = {
  ERR_DUPLICATED_PHONE_NO: 100001,
  ERR_VERIFY_CODE: 100002,
  ERR_VERIFY_CODE_TIME: 100003,
  NOT_SUPPORT_PHONE_NO: 100004,
  
  ERR_FORMAT_PHONE_NO: 110001,
  ERR_FORMAT_EMAIL: 110002,

  ERR_NULL_PHONE_NO: 120001,
  ERR_NULL_EMAIL: 120002,
  ERR_NULL_VERIFY_CODE: 120003,
  ERR_NULL_PASSWORD: 120004,

  NOT_API: 200001,
  UNKNOW_ERROR: 9999,
};

export const ERROR_MESSAGE = {
  ERR_DUPLICATED_PHONE_NO: "",
  ERR_VERIFY_CODE: "",
  ERR_VERIFY_CODE_TIME: "",
  NOT_SUPPORT_PHONE_NO: "",

  ERR_FORMAT_PHONE_NO: "",
  ERR_FORMAT_EMAIL: "",

  ERR_NULL_PHONE_NO: "",
  ERR_NULL_EMAIL: "",
  ERR_NULL_VERIFY_CODE: "",
  ERR_NULL_PASSWORD: "",
  
  NOT_API: " API",
  UNKNOW_ERROR: "",
};

I want some combinations to start with 100000 and some with 110000. I don"t want to change the definition of each. What is the elegant way to implement it?

Mar.12,2021

enumeration of TypeScript to learn about

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5dd53-65d76.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5dd53-65d76.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?