/**
 * @mergeTarget
 * @module Src/Utils
 */

/**
 * Enumerator of all possible error codes
 * @source
 */
enum ErrorCodes {
  /**
   * If this error code was sent, you try to retrieve a cookie that doesn't exists.
   */
  COOKIE_NOT_EXISTS = "LisioWidget_0",
  /**
   * If this error code was sent, you probably forgot or misspelled a parameter name in {@link Src/Controllers.CompressorController._parametersToId | CompressorController._parametersToId}.\ Solve error in this encode map solve also error in decode map, because decode map is generated at runtime absed on encode map
   */
  FORGOT_PARAMETER_ENCODING = "LisioWidget_0",
  /**
   * If this error code was sent, you probably forgot or misspelled a profile name in {@link Src/Controllers.CompressorController._profileToId | CompressorController._profileToId}.\ Solve error in this encode map solve also error in decode map, because decode map is generated at runtime absed on encode map
   */
  FORGOT_PROFILE_ENCODING = "LisioWidget_1",
  /**
   * If this error code was sent, maybe you don't wait translation file loading or maybe an error occured during loading.
   */
  TRANSLATIONS_NOT_LOADED = "LisioWidget_2",
  /**
   * If this error code was sent, maybe you don't create or misspelled translations file.
   */
  TRANSLATIONS_FILE_NOT_FOUND = "LisioWidget_3",
  /**
   * If this error code was sent, you probably forgot or misspelled a key of your translations file.
   */
  TRANSLATION_NOT_FOUND = "LisioWidget_4",
  /**
   * If this error code was sent, you probably forgot or misspelled screen id in {@link Src/Screens.ScreenNames | ScreenNames} or maybe you don't add screen in widget version during initialization in {@link Src/Versions.WidgetVersion | WidgetVersion}.
   */
  SCREEN_NOT_INITIALIZED = "LisioWidget_5",
  /**
   * If this error code was sent, you probably forgot or misspelled a version name in {@link Src/Versions.WidgetVersion | WidgetVersion} or maybe you don't add version in enumerator {@link Src/Versions.LisioWidgetVersionNames | LisioWidgetVersionNames} or in converting table {@link Src/Versions.numberToVersion | numberToVersion}.
   */
  WIDGET_VERSION_NOT_FOUND = "LisioWidget_6",
}

export { ErrorCodes };
