errors

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApplicationErrorMap = map[int]string{
	0x01: "",
	0x02: "",
	0x03: "",
	0x04: "",
	0x05: "",
	0x06: "",
}

Functions

func NewApplicationError

func NewApplicationError(code int, args ...interface{}) error

Types

type ApplicationError

type ApplicationError struct {
	Code int    `json:"code"`
	Msg  string `json:"msg"`
	// contains filtered or unexported fields
}

func (*ApplicationError) Error

func (e *ApplicationError) Error() string

Jump to

Keyboard shortcuts

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