errcode

package
v1.25.13-jh Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2026 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

View Source
const (
	URI_NOT_FOUND          = 1000
	SYSTEM_ERROR           = 1001
	DB_CONNECT_ERROR       = 1002
	REQUEST_PARAMETER_LOST = 1003
	DATA_NOT_FOUND         = 1004
	USER_NOT_FOUND         = 1005
	PASSWORD_ERROR         = 1006
	VERIFY_CODE_ERROR      = 1007
	TOKEN_ERROR            = 1008
	AUTHENTICATION_FAILURE = 1009
	SERVICE_UNAVAILABLE    = 1010
	PARAM_ERROR            = 1014 //参数校验错误
	TOO_MANY_REQUESTS      = 1011 //触发限流
	JOB_ERROR              = 1012 //定时任务执行异常
	STORAGE_ERROR          = 1013 //对象存储操作异常
)
View Source
const (
	UrlNotFound        = "404"
	SystemError        = "系统异常"
	DbConnectErr       = "数据库连接失败"
	DbInsertErr        = "数据库插入失败"
	DbUpdateErr        = "数据库更新失败"
	DbDeleteErr        = "数据库删除失败"
	DataNotFound       = "数据库查无数据"
	ParamLost          = "参数不可为空"
	ParamError         = "参数错误"
	ConnectFail        = "网络连接失败"
	ServiceUnavailable = "服务不存在"
	Success            = "success"
	DbQueryErr         = "数据库查询失败"
	TooManyRequests    = "请求过于频繁,请稍后再试"
	JobError           = "定时任务执行失败"
	StorageError       = "对象存储操作失败"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL