- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of about 10,000 for error2 (0.23 sec)
-
src/go/doc/testdata/error2.go
// license that can be found in the LICENSE file. package error2 type I0 interface { // When embedded, the locally-declared error interface // is only visible if all declarations are shown. error } type T0 struct { ExportedField interface { // error should not 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 - 618 bytes - Viewed (0) -
src/go/doc/testdata/error2.0.golden
// PACKAGE error2 IMPORTPATH testdata/error2 FILENAMES testdata/error2.go TYPES // type I0 interface { // contains filtered or unexported methods } // type S0 struct { // contains filtered or unexported fields } // type T0 struct { ExportedField interface { // contains filtered or unexported methods }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 337 bytes - Viewed (0) -
src/go/doc/testdata/error2.2.golden
// PACKAGE error2 IMPORTPATH testdata/error2 FILENAMES testdata/error2.go TYPES // type I0 interface { // contains filtered or unexported methods } // type S0 struct { // contains filtered or unexported fields } // type T0 struct { ExportedField interface { // contains filtered or unexported methods }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 337 bytes - Viewed (0) -
src/go/doc/testdata/error2.1.golden
// PACKAGE error2 IMPORTPATH testdata/error2 FILENAMES testdata/error2.go TYPES // type I0 interface { // When embedded, the locally-declared error interface // is only visible if all declarations are shown. error } // type S0 struct { // In struct types, an embedded error must only be visible // if AllDecls is set. error } // type T0 struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 565 bytes - Viewed (0) -
src/errors/example_test.go
} 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) -
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) -
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) -
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/cmd/compile/internal/types2/errors.go
// An errorDesc describes part of a type-checking error. type errorDesc struct { pos syntax.Pos msg string } // An error_ represents a type-checking error. // A new error_ is created with Checker.newError. // To report an error_, call error_.report. type error_ struct { check *Checker desc []errorDesc code Code soft bool // TODO(gri) eventually determine this from an error code }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 22:06:18 UTC 2024 - 6.6K bytes - Viewed (0) -
src/encoding/gob/error.go
type gobError struct { err error } // errorf is like error_ but takes Printf-style arguments to construct an error. // It always prefixes the message with "gob: ". func errorf(format string, args ...any) { error_(fmt.Errorf("gob: "+format, args...)) } // error_ wraps the argument error and uses it as the argument to panic. func error_(err error) { panic(gobError{err})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 23:03:07 UTC 2022 - 1.3K bytes - Viewed (0)