execution

package
v1.115.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecoverWithGenericError

func RecoverWithGenericError(err *error)

RecoverWithGenericError is a general purpose function for recovering from panics. A useful error is written to 'err'. See RecoverWithInternalError for recovering inside a controller Reconcile loop

func RecoverWithInternalError

func RecoverWithInternalError(err *error)

Recovers with the 'err' value being filled in with an InternalError, used by controllers to enable metric collection

Types

type NewErrorFunc

type NewErrorFunc func(message string) error

Jump to

Keyboard shortcuts

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