- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for unwrapped (0.44 sec)
-
src/testing/testing_windows.go
// isWindowsRetryable reports whether err is a Windows error code // that may be fixed by retrying a failed filesystem operation. func isWindowsRetryable(err error) bool { for { unwrapped := errors.Unwrap(err) if unwrapped == nil { break } err = unwrapped } if err == syscall.ERROR_ACCESS_DENIED { return true // Observed in https://go.dev/issue/50051. } if err == windows.ERROR_SHARING_VIOLATION {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 1.9K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/testing/fstest/63675.md
[TestFS] now returns a structured error that can be unwrapped (via method `Unwrap() []error`). This allows inspecting errors
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 20:57:18 UTC 2024 - 159 bytes - Viewed (0) -
platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/UncheckedException.java
* * Note: always throws the failure in some form. The return value is to keep the compiler happy. * * @param e to be unwrapped * @return an instance of RuntimeException based on the target exception of the parameter. */ public static RuntimeException unwrapAndRethrow(InvocationTargetException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 3.6K bytes - Viewed (0) -
src/net/resolverdialfunc_test.go
} } return a, nil } } type resolverDialHandler struct { // StartDial, if non-nil, is called when Go first calls Resolver.Dial. // Any error returned aborts the dial and is returned unwrapped. StartDial func(network, address string) error Question func(dnsmessage.Header, dnsmessage.Question) // err may be ErrNotExist or ErrRefused; others map to SERVFAIL (RCode2). // A nil error means success.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.3K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/DefaultExecutionStateChangeDetector.java
} private static InputFileChanges caching(InputFileChanges wrapped) { CachingChangeContainer cachingChangeContainer = new CachingChangeContainer(MAX_OUT_OF_DATE_MESSAGES, wrapped); return new InputFileChangesWrapper(wrapped, cachingChangeContainer); } private static ChangeContainer errorHandling(Describable executable, ChangeContainer wrapped) { return new ErrorHandlingChangeContainer(executable, wrapped);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:34 UTC 2024 - 8.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filterlatency/filterlatency_test.go
callCount++ }) // wrap with start and completed handler wrapped := TrackCompleted(handler) wrapped = TrackStarted(wrapped, tp, filterName) testRequest, err := http.NewRequest(http.MethodGet, "/api/v1/namespaces", nil) if err != nil { t.Fatalf("failed to create new http request - %v", err) } wrapped.ServeHTTP(httptest.NewRecorder(), testRequest) if callCount != 1 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 7.1K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/database/sql/64707.md
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 20:57:18 UTC 2024 - 160 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/wrapper_test.go
unaggregated := fakeHTTPHandler{data: "unaggregated"} aggregated := fakeHTTPHandler{data: "aggregated"} wrapped := WrapAggregatedDiscoveryToHandler(unaggregated, aggregated) testCases := []struct { accept string expected string }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 3.4K bytes - Viewed (0) -
src/testing/fstest/testfs_test.go
} func TestTestFSWrappedErrors(t *testing.T) { err := TestFS(failPermFS{}) if err == nil { t.Fatal("error expected") } t.Logf("Error (expecting wrapped fs.ErrPermission):\n%v", err) if !errors.Is(err, fs.ErrPermission) { t.Errorf("error should be a wrapped ErrPermission: %#v", err) } // TestFS is expected to return a list of errors. // Enforce that the list can be extracted for browsing.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute1StaticInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.9K bytes - Viewed (0)