errorcode

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Value

type Value int

枚举值

const (
	Null               Value = iota       // 无效
	API                Value = iota + 500 // api不存在
	Auth                                  // 认证失败
	Validate                              // 参数验证失败
	Timeout                               // 请求超时
	ValueTypeNotEnough                    // 数值不足
	Panic              Value = 599        // 异常错误码
)

Jump to

Keyboard shortcuts

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