package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Apr 22, 2022
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
func Recover(errHandler func(err any), cleanups ...func())
Recover from panic
Usage:
func main() {
defer rescueutil.Recover(func(err any) {
fmt.Printf("Recover error: %v \n", err)
},func() {
...
})
...
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.