Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AppErrorRoot = New("root", "root error")
Functions ¶
This section is empty.
Types ¶
type CodeType ¶
type CodeType string
const ( Success CodeType = "success" ErrorUserNotFound CodeType = "user_not_found" ErrorUserPassword CodeType = "password_error" ErrorServerError CodeType = "service_error" ErrorAuthFailed CodeType = "auth_failed" ErrorWxAuthFailed CodeType = "wx_auth_failed" ErrorTokenNotSet CodeType = "token_not_set" ErrorRepeat CodeType = "repeat" ErrorTokenTimeout CodeType = "token_timeout" ErrorForbidden CodeType = "forbidden" ErrorUserExist CodeType = "user_exist" ErrorUpdateUserSetting CodeType = "update_user_setting" ErrorGetUserSetting CodeType = "get_user_setting" ErrorTaskNotFound CodeType = "task_not_found" ErrorTaskExist CodeType = "task_exist" ErrorBadRequest CodeType = "bad_request" ErrorNotImage CodeType = "not_image" ErrorAuditParamInValid CodeType = "audit_param_invalid" ErrorNotFound CodeType = "not_found" ErrorTaskRunNotFound CodeType = "task_run_not_found" ErrorCreateTask CodeType = "create_task" )
Click to show internal directories.
Click to hide internal directories.