Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Check ¶
Check check and add addon msg to error or panic. eg1:Check(err) eg2:Check(err, true) eg3:Check(err, false) eg4:Check(err, true, "this is addon msg") eg5:Check(err, false, "this is addon msg")
func Handle ¶
Handle catching error to return or assign to recoverFunc. eg1:defer z1err.Handle(&err) eg2:defer z1err.Handle(nil, func(err error) {...}
func StackPrint ¶
StackPrint print msg with stack and can set skip. eg:z1err.StackPrint(err) eg:z1err.StackPrint(err, 7)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.