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.12.0-rc.2
Published
Sep 21, 2018
Platform
js/wasm
Imports
1 packages
Last checked
10 minutes ago

Tools for package owners.