uerror

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Code

func Code(e error) int

func Err

func Err(e error) error

func Msg

func Msg(e error) string

func New

func New(code int, msg string) error

Types

type Error

type Error struct {
	Code int
	Msg  string
	Desc string
	// contains filtered or unexported fields
}

func (Error) Error

func (e Error) Error() string

Jump to

Keyboard shortcuts

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