stackError

package module
v0.0.2-0...-21eab7f Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

README

commonLib

go common library

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MaxStackSize = 1024
View Source
var StackMaxDeep = 16

Functions

func CheckExitError

func CheckExitError(err error)

* Check error and print after exit

func CheckPanic

func CheckPanic(err error)

* check error and panic

func FuncNameToPkgName

func FuncNameToPkgName(funcName string) string

func Panic

func Panic(errMsg string)

func PanicError

func PanicError(err error)

Types

type StackError

type StackError interface {
	error
	GetMsg() string
}

func ChildNew

func ChildNew(msg string, parent error) StackError

func New

func New(msg string) StackError

Jump to

Keyboard shortcuts

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