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 ¶
Click to show internal directories.
Click to hide internal directories.