common

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ErrNotImplemented 未实现的功能
	ErrNotImplemented = Error("not implemented")

	// ErrBadRequest 请求参数错误
	ErrBadRequest = Error("请求参数错误")

	// ErrSystemError 系统错误
	ErrSystemError = Error("系统错误")

	// ErrUserNotExists 用户不存在
	ErrUserNotExists = Error("用户不存在")

	// ErrUserHasBeenBaned 账号被禁用
	ErrUserHasBeenBaned = Error("账号被禁用")

	// ErrNotLogin 尚未登录
	ErrNotLogin = Error("尚未登录")

	// ErrDatabaseOperateFailed 数据库操作失败
	ErrDatabaseOperateFailed = Error("数据库操作失败")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error string

Error error string

func (Error) Error

func (e Error) Error() string

Jump to

Keyboard shortcuts

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