xerr

package
v0.0.0-...-4a4b955 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	COPY_DATA_ERR = errors.New("复制数据出错!")
	SAVE_DATA_ERR = errors.New("保存数据出错!")
	SAVE_FILE_ERR = errors.New("保存文件出错!")
)

数据层面

View Source
var (
	USER_NOT_EXIST     = errors.New("用户不存在!")
	USER_EXIST         = errors.New("用户已存在!")
	USER_LOGIN_ERR     = errors.New("用户登录出错!")
	USER_LOGIN_TIMEOUT = errors.New("用户登录超时!")
	USER_LOGIN_FAIL    = errors.New("用户登录失败!")
	USER_NOT_LOGIN     = errors.New("用户未登录!")
	USER_PASSWORD_ERR  = errors.New("用户密码错误!")
	USER_OR_PASS_ERR   = errors.New("用户名或者密码错误!")
)

业务层面

View Source
var (
	// 数据库出错
	DB_ERR = errors.New("数据库出错!")
	// 数据库超时
	DB_TIMEOUT = errors.New("数据库超时!")
)

数据链路层面

View Source
var (
	// 系统出错
	SYSTEM_ERR = errors.New("系统出错!")
	// 系统超时
	SYSTEM_TIMEOUT = errors.New("系统超时!")
	SERVER_ERR     = errors.New("服务器出错!")
	SERVER_TIMEOUT = errors.New("服务器繁忙!")
)

系统层面

View Source
var (
	HTTP_ERR     = errors.New("HTTP出错!")
	HTTP_TIMEOUT = errors.New("HTTP请求超时!")
)

HTTP层面

View Source
var (
	RPC_ERR     = errors.New("远程过程调用出错!")
	RPC_TIMEOUT = errors.New("远程过程调用请求超时!")
)

RPC层面

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