errorutils

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogOnErr

func LogOnErr(logEntry *logrus.Entry, message string, err error)

func PanicOnErr

func PanicOnErr(logEntry *logrus.Entry, message string, err error)

PanicWithTrace will log a formatted stack trace at the panic level, which will capture the error if sentry is enabled

func RecoverErr

func RecoverErr(recover interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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