sys_errors

package
v0.0.0-...-83425ee Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AbortError error
View Source
var ParamsError error

Functions

This section is empty.

Types

type SysError

type SysError struct {
	ErrorCode int    `json:"error_code"`
	Msg       string `json:"msg"`
}

func NewSysError

func NewSysError(code int, msg string) *SysError

func (*SysError) JsonMap

func (s *SysError) JsonMap() ([]byte, error)

func (*SysError) JsonString

func (s *SysError) JsonString() ([]byte, error)

Jump to

Keyboard shortcuts

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