grecovers

package
v1.1.15 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoRecover added in v1.1.10

func GoRecover(f func())

func GoRecoverWithContext added in v1.1.9

func GoRecoverWithContext(ctx context.Context, f func())

func Recover

func Recover(f func()) func()

func RecoverFn

func RecoverFn(fn func() error) func() error

func RecoverOfErr added in v1.1.10

func RecoverOfErr(f func() error) (err error)

func RecoverVGFn added in v1.1.7

func RecoverVGFn(fn func() (interface{}, error)) func() (interface{}, error)

func RecoverWithContext added in v1.1.9

func RecoverWithContext(ctx context.Context, f func()) func()

Types

This section is empty.

Jump to

Keyboard shortcuts

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