Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CatchHandler ¶ added in v0.2.0
type CatchHandler interface { Catch(e error, handler func(err error)) CatchHandler CatchAll(handler func(err error)) FinalHandler FinalHandler }
func Try ¶ added in v0.2.0
func Try(f func()) CatchHandler
type FinalHandler ¶ added in v0.2.0
type FinalHandler interface {
Finally(handlers ...func())
}