error

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ERR_UNKNOW = STError{Code: 99999, Msg: "unknow error"}

	ERR_REQ_VALIDATE     = STError{Code: 100000, Msg: "request validate or binding error:%v"}
	ERR_REQ_UPDATE_NOKEY = STError{Code: 100001, Msg: "update po but not give the id"}
)

Functions

This section is empty.

Types

type STError

type STError struct {
	Code int
	Msg  string
}

func (STError) Error

func (e STError) Error() string

Jump to

Keyboard shortcuts

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