|
|
ErrInvalidParams: "Request parameter error: {{ .detail }}"
|
|
|
ErrTokenParse: "Token generation error: {{ .detail }}"
|
|
|
ErrInitialPassword: "Initial password error"
|
|
|
ErrInternalServer: "Service internal error: {{ .detail }}"
|
|
|
ErrRecordExist: "Record already exists"
|
|
|
ErrRecordNotFound: "Records not found"
|
|
|
ErrStructTransform: "Type conversion failure: {{ .detail }}"
|
|
|
ErrNotLogin: "User is not Login: {{ .detail }}"
|
|
|
ErrPasswordExpired: "The current password has expired: {{ .detail }}"
|
|
|
ErrNotSupportType: "The system does not support the current type: {{ .detail }}"
|
|
|
|
|
|
#common
|
|
|
ErrNameIsExist: "Name is already exist"
|
|
|
ErrDemoEnvironment: "Demo server, prohibit this operation!"
|
|
|
ErrCmdTimeout: "Command execution timed out!"
|
|
|
|
|
|
#app
|
|
|
ErrPortInUsed: "{{ .detail }} port already in use"
|
|
|
ErrAppLimit: "App exceeds install limit"
|
|
|
ErrAppRequired: "{{ .detail }} app is required"
|
|
|
ErrNotInstall: "App not installed"
|
|
|
ErrPortInOtherApp: "{{ .port }} port already in use by {{ .apps }}"
|
|
|
ErrDbUserNotValid: "Stock database, username and password do not match!"
|
|
|
ErrDockerComposeNotValid: "docker-compose file format error!"
|
|
|
ErrUpdateBuWebsite: 'The application was updated successfully, but the modification of the website configuration file failed, please check the configuration!'
|
|
|
Err1PanelNetworkFailed: 'Default container network creation failed! {{ .detail }}'
|
|
|
ErrFileParse: 'Application docker-compose file parsing failed!'
|
|
|
ErrInstallDirNotFound: 'installation directory does not exist'
|
|
|
AppStoreIsUpToDate: 'The app store is already up to date!'
|
|
|
LocalAppVersionNull: 'The {{.name}} app is not synced to version! Could not add to application list'
|
|
|
LocalAppVersionErr: '{{.name}} failed to sync version {{.version}}! {{.err}}'
|
|
|
ErrFileNotFound: '{{.name}} file does not exist'
|
|
|
ErrFileParseApp: 'Failed to parse {{.name}} file {{.err}}'
|
|
|
ErrAppDirNull: 'version folder does not exist'
|
|
|
LocalAppErr: "App {{.name}} sync failed! {{.err}}"
|
|
|
ErrContainerName: "ContainerName is already exist"
|
|
|
ErrAppSystemRestart: "1Panel restart causes the task to terminate"
|
|
|
ErrCreateHttpClient: "Failed to create HTTP request {{.err}}"
|
|
|
ErrHttpReqTimeOut: "Request timed out {{.err}}"
|
|
|
ErrHttpReqFailed: "Request failed {{.err}}"
|
|
|
ErrHttpReqNotFound: "The file does not exist"
|
|
|
ErrNoSuchHost: "Network connection failed"
|
|
|
ErrImagePullTimeOut: 'Image pull timeout'
|
|
|
|
|
|
#file
|
|
|
ErrFileCanNotRead: "File can not read"
|
|
|
ErrFileToLarge: "file is too large"
|
|
|
ErrPathNotFound: "Path is not found"
|
|
|
ErrMovePathFailed: "The target path cannot contain the original path!"
|
|
|
ErrLinkPathNotFound: "Target path does not exist!"
|
|
|
ErrFileIsExit: "File already exists!"
|
|
|
ErrFileUpload: "Failed to upload file {{.name}} {{.detail}}"
|
|
|
ErrFileDownloadDir: "Download folder not supported"
|
|
|
|
|
|
#website
|
|
|
ErrDomainIsExist: "Domain is already exist"
|
|
|
ErrAliasIsExist: "Alias is already exist"
|
|
|
ErrAppDelete: 'Other Website use this App'
|
|
|
ErrGroupIsUsed: 'The group is in use and cannot be deleted'
|
|
|
|
|
|
#ssl
|
|
|
ErrSSLCannotDelete: "The certificate is being used by the website and cannot be removed"
|
|
|
ErrAccountCannotDelete: "The certificate associated with the account cannot be deleted"
|
|
|
ErrSSLApply: "The certificate continues to be signed successfully, but openresty reload fails, please check the configuration!"
|
|
|
ErrEmailIsExist: 'Email is already exist'
|
|
|
|
|
|
#mysql
|
|
|
ErrUserIsExist: "The current user already exists. Please enter a new user"
|
|
|
ErrDatabaseIsExist: "The current database already exists. Please enter a new database"
|
|
|
ErrExecTimeOut: "SQL execution timed out, please check the {{ .detail }} container"
|
|
|
|
|
|
#redis
|
|
|
ErrTypeOfRedis: "The recovery file type does not match the current persistence mode. Modify the file type and try again"
|
|
|
|
|
|
#container
|
|
|
ErrInUsed: "{{ .detail }} is in use and cannot be deleted"
|
|
|
ErrObjectInUsed: "This object is in use and cannot be deleted"
|
|
|
ErrRepoConn: "The repository information contains illegal characters"
|
|
|
|
|
|
#runtime
|
|
|
ErrDirNotFound: "The build folder does not exist! Please check file integrity!"
|
|
|
ErrFileNotExist: "{{ .detail }} file does not exist! Please check source file integrity!"
|
|
|
ErrImageBuildErr: "Image build failed"
|
|
|
ErrImageExist: "Image is already exist!"
|
|
|
ErrDelWithWebsite: "The operating environment has been associated with a website and cannot be deleted"
|
|
|
|
|
|
#setting
|
|
|
ErrBackupInUsed: "The backup account is already being used in a cronjob and cannot be deleted."
|
|
|
|
|
|
ErrOSSConn: "Unable to successfully request the latest version. Please check if the server can connect to the external network environment." |