Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for RecoverFromPanic (0.45 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime.go

    	if f == nil {
    		return "Unable to find caller"
    	}
    	return f.Name()
    }
    
    // RecoverFromPanic replaces the specified error with an error containing the
    // original error, and  the call tree when a panic occurs. This enables error
    // handlers to handle errors and panics the same way.
    func RecoverFromPanic(err *error) {
    	if r := recover(); r != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top