error

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: May 16, 2021 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ErrorMsgSuccess = "success"
	ErrorMsgFailure = "failure"
	ErrorMsgClient  = "params check failed"
	ErrorMsgServer  = "server failed"
	ErrorMsgSign    = "sign check failed"
	ErrorNoSuccess  = 0
	ErrorNoFailure  = -1
	ErrorNoClient   = -2
	ErrorNoServer   = -3
	ErrorNoSign     = -4
)

Variables

This section is empty.

Functions

func Marshal

func Marshal(data interface{}, errno int, errmsg string) []byte

func MarshalData

func MarshalData(data interface{}) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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