Documentation ¶
Overview ¶
Package stackerror is a have stack information with error library
see README.md for more info.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MaxStackSize = 1024
MaxStackSize Max byte size of formating stack information
View Source
var StackMaxDeep = 16
StackMaxDeep Max deep with stack information
Functions ¶
func CheckExitError ¶
func CheckExitError(err error)
CheckExitError Check error and print after exit
Types ¶
type StackError ¶
StackError stackError package information interface
func NewParent ¶
func NewParent(msg string, child error) StackError
NewParent Get a parent stackError object with msg and child
Click to show internal directories.
Click to hide internal directories.