Skip to content

Commit

Permalink
feat: add new error type Nouvelle initialisation de l'application #47
Browse files Browse the repository at this point in the history
  • Loading branch information
hrenaud committed Aug 31, 2024
1 parent f37ac52 commit fe4b7af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions electron-app/ecoindex-app/src/class/ConfigData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export class ConfigData {
static ERROR_TYPE_NO_WRITE_ACCESS = 'error_type_no_write_access'
static ERROR_TYPE_CANT_FIX_USER_RIGHTS = 'error_type_cant_fix_user_rights'
static ERROR_TYPE_FIRST_INSTALL = 'error_type_first_install'
static ERROR_TYPE_BROWSER_NOT_INSTALLED = 'error_type_browser_no_installed'

/**
* The type of the content.
Expand Down Expand Up @@ -67,6 +68,7 @@ export class ConfigData {
| 'error_type_no_write_access'
| 'error_type_first_install'
| 'error_type_cant_fix_user_rights'
| 'error_type_browser_no_installed'
) {
this.type = type
this.errorType = errorType
Expand Down

0 comments on commit fe4b7af

Please sign in to comment.