Versions in this module Expand all Collapse all v0 v0.0.4 Jul 25, 2021 Changes in this version + type CatchHandler struct + func (ch *CatchHandler) Catch(err error, handler func(err2 error)) ICatchHandler + func (ch *CatchHandler) CatchAll(handler func(err error)) FinalHandler + func (ch *CatchHandler) ErrorHasDeal() bool + func (ch *CatchHandler) Finally(handlers ...func()) + func (ch *CatchHandler) HasError() bool + func (ch *CatchHandler) NeedDeal() bool + type FinalHandler interface + Finally func(handlers ...func()) + type ICatchHandler interface + Catch func(e error, handler func(err error)) ICatchHandler + CatchAll func(handler func(err error)) FinalHandler + func WithData(data easymap.EasyMap, f func(data easymap.EasyMap)) ICatchHandler + func WithGin(ctx *gin.Context, f func(ctx *gin.Context)) ICatchHandler + func WithInterface(data interface{}, f func(data interface{})) ICatchHandler + func WithNormal(f func()) ICatchHandler + type SystemError struct