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.11.0
Published
Jun 27, 2018
Platform
js/wasm
Imports
1 packages
Last checked
2 minutes ago

Tools for package owners.