panicutil

package
v1.0.2-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 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