package panic

import "k8s.io/kubernetes/pkg/kubelet/kubeletconfig/util/panic"

Index

Functions

func HandlePanic

func HandlePanic(fn func()) func()

HandlePanic returns a function that wraps `fn` with the utilruntime.PanicHandlers, and continues to bubble the panic after the PanicHandlers are called

Source Files

panic.go

Version
v1.22.9
Published
Apr 13, 2022
Platform
js/wasm
Imports
1 packages
Last checked
9 minutes ago

Tools for package owners.