panicutil

package
v0.5.0-alpha.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CatchAllButDBError

func CatchAllButDBError(f func(), log *logger.Logger, prefix ...string) (err error)

func CatchAllExcept

func CatchAllExcept(f func(), exceptErrors ...error) (err error)

func CatchPanic

func CatchPanic(f func()) (err error)

func CatchPanicReturnError

func CatchPanicReturnError(fun func(), catchErrors ...error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL