2024-07-19 19:04:11 +08:00
|
|
|
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"
|
2024-07-22 16:14:59 +08:00
|
|
|
ErrTransform: "Type conversion failure: {{ .detail }}"
|
2024-07-19 19:04:11 +08:00
|
|
|
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!"
|
2024-07-22 16:14:59 +08:00
|
|
|
ErrEntrance: "Security entrance information error. Please check and try again!"
|
2024-07-19 19:04:11 +08:00
|
|
|
|
|
|
|
#app
|
|
|
|
ErrPortInUsed: "{{ .detail }} port already in use"
|
|
|
|
ErrCreateHttpClient: "Failed to create HTTP request {{.err}}"
|
|
|
|
ErrHttpReqTimeOut: "Request timed out {{.err}}"
|
|
|
|
ErrHttpReqFailed: "Request failed {{.err}}"
|
|
|
|
ErrHttpReqNotFound: "The file does not exist"
|
2024-07-22 16:14:59 +08:00
|
|
|
ErrNoSuchHost: "Network connection failed"
|