- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of about 10,000 for error1 (0.16 sec)
-
src/go/doc/testdata/error1.go
package error1 type I0 interface { // When embedded, the predeclared error interface // must remain visible in interface types. error } type T0 struct { ExportedField interface { // error should be visible error } } type S0 struct { // In struct types, an embedded error must only be visible // if AllDecls is set. error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 498 bytes - Viewed (0) -
src/go/doc/testdata/error1.1.golden
// PACKAGE error1 IMPORTPATH testdata/error1 FILENAMES testdata/error1.go TYPES // type I0 interface { // When embedded, the predeclared error interface // must remain visible in interface types. error } // type S0 struct { // In struct types, an embedded error must only be visible // if AllDecls is set. error } // type T0 struct { ExportedField interface {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 440 bytes - Viewed (0) -
src/go/doc/testdata/error1.0.golden
// PACKAGE error1 IMPORTPATH testdata/error1 FILENAMES testdata/error1.go TYPES // type I0 interface { // When embedded, the predeclared error interface // must remain visible in interface types. error } // type S0 struct { // contains filtered or unexported fields } // type T0 struct { ExportedField interface { // error should be visible error }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 390 bytes - Viewed (0) -
src/go/doc/testdata/error1.2.golden
// PACKAGE error1 IMPORTPATH testdata/error1 FILENAMES testdata/error1.go TYPES // type I0 interface { // When embedded, the predeclared error interface // must remain visible in interface types. error } // type S0 struct { // contains filtered or unexported fields } // type T0 struct { ExportedField interface { // error should be visible error }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 390 bytes - Viewed (0) -
src/errors/example_test.go
// Failed at path: non-existing } func ExampleUnwrap() { err1 := errors.New("error1") err2 := fmt.Errorf("error2: [%w]", err1) fmt.Println(err2) fmt.Println(errors.Unwrap(err2)) // Output: // error2: [error1] // error1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 16 02:08:40 UTC 2023 - 2.2K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/provision_test.go
{Verb: "create", Resource: "persistentvolumes", Error: errors.New("Mock creation error5")}, }, test: wrapTestWithPluginCalls( nil, // recycle calls []error{ // delete calls errors.New("Mock deletion error1"), errors.New("Mock deletion error2"), errors.New("Mock deletion error3"), errors.New("Mock deletion error4"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 35.3K bytes - Viewed (0) -
security/pkg/pki/error/error_test.go
eType: -1, err: fmt.Errorf("test error5"), message: "UNKNOWN", code: codes.Internal, }, } for k, tc := range testCases { caErr := NewError(tc.eType, tc.err) if caErr.Error() != tc.err.Error() { t.Errorf("[%s] unexpected error: '%s' VS (expected)'%s'", k, caErr.Error(), tc.err.Error()) } if caErr.ErrorType() != tc.message {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 40.4K bytes - Viewed (0) -
src/go/format/format_test.go
for _, src := range tests { if strings.HasPrefix(src, "ERROR") { // test expected to fail src = src[5:] // remove ERROR prefix res, err := String(src) if err == nil && res == src { t.Errorf("formatting succeeded but was expected to fail:\n%q", src) } } else { // test expected to succeed res, err := String(src) if err != nil { t.Errorf("formatting failed (%s):\n%q", err, src)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 20 03:54:46 UTC 2021 - 4.5K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/framework_test.go
}, { name: "Reserve - Error", action: func(f framework.Framework) { f.RunReservePluginsReserve(context.Background(), state, pod, "") }, inject: injectedResult{ReserveStatus: int(framework.Error)}, wantExtensionPoint: "Reserve", wantStatus: framework.Error, }, { name: "PreBind - Error",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 103K bytes - Viewed (0)