errs

package
v0.0.0-...-6a6dcdd Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorTooFrequent  = saError.Error{Code: saError.BeDisplayedErrorCode, Msg: "操作太频繁"}
	ErrorParams       = saError.Error{Code: saError.NormalErrorCode, Msg: "缺少必要参数"}
	ErrorData         = saError.Error{Code: saError.NormalErrorCode, Msg: "数据有误"}
	ErrorEmpty        = saError.Error{Code: saError.NormalErrorCode, Msg: "数据为空"}
	ErrorNotSupport   = saError.Error{Code: saError.NormalErrorCode, Msg: "暂不支持"}
	ErrorUnauthorized = saError.Error{Code: saError.LoggedFailErrorCode, Msg: "未授权"}
	ErrorNotExisted   = saError.Error{Code: saError.BeDisplayedErrorCode, Msg: "不存在"}
)

Functions

func New

func New(err interface{}, params ...interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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