ecode

package
v0.0.0-...-c242be3 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//api
	RequestErr ecode = 10001

	// common error code
	OK ecode = 0
	// server
	ServerErr ecode = 90001

	//gateway
	NoAccessServer ecode = 92001

	// access
	NoToken         ecode = 93001
	CalcTokenFailed ecode = 93002

	// register
	UserIsAlreadyExist ecode = 94001

	// network
	NoData ecode = 91001
)

Variables

This section is empty.

Functions

func From

func From(e error) ecode

func To

func To(i uint32) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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