- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 3,593 for perror (0.18 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator.go
klog.V(2).InfoS("multi-line message denied", "message", message) message = "" } } } if messageResult != nil && messageResult.Error != nil { // log any error with messageExpression klog.V(2).ErrorS(messageResult.Error, "error while evaluating messageExpression") } // fallback to set message to the custom message if message == "" && len(validation.Message) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 23:31:44 UTC 2024 - 9.2K bytes - Viewed (0) -
src/internal/coverage/cfile/testdata/harness.go
slws slicewriter.WriteSeeker } func (f *failingWriter) Write(p []byte) (n int, err error) { c := f.writeCount f.writeCount++ if f.writeLimit < 0 || c < f.writeLimit { return f.slws.Write(p) } return 0, fmt.Errorf("manufactured write error") } func (f *failingWriter) Seek(offset int64, whence int) (int64, error) { return f.slws.Seek(offset, whence) } func (f *failingWriter) reset(lim int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:41:02 UTC 2024 - 6.9K bytes - Viewed (0) -
pkg/kube/inject/validate.go
if ipRanges != "*" { if e := validateCIDRList(ipRanges); e != nil { return fmt.Errorf("includeIPRanges invalid: %v", e) } } return nil } // ValidateExcludeIPRanges validates the excludeIPRanges parameter func ValidateExcludeIPRanges(ipRanges string) error { if e := validateCIDRList(ipRanges); e != nil { return fmt.Errorf("excludeIPRanges invalid: %v", e) } return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 5.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailureTest.groovy
error(e).startsWith(error(''' Did not find expected text in build output. Expected: broken Build output: ======= Some message ''')) when: failure.assertHasErrorOutput("broken") then: def e2 = thrown(AssertionError) error(e2).startsWith(error('''
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 15.5K bytes - Viewed (0) -
src/os/file.go
// functionality. The design is Unix-like, although the error handling is // Go-like; failing calls return values of type error rather than error numbers. // Often, more information is available within the error. For example, // if a call that takes a file name fails, such as [Open] or [Stat], the error // will include the failing file name when printed and will be of type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:37 UTC 2024 - 25.4K bytes - Viewed (0) -
pkg/webhooks/validation/server/server.go
if warn == nil { return nil } me, ok := warn.(*multierror.Error) if ok { res := []string{} for _, e := range me.Errors { res = append(res, e.Error()) } return res } return []string{warn.Error()} } func checkFields(raw []byte, kind string, namespace string, name string) (string, error) { trial := make(map[string]json.RawMessage)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 04 06:13:56 UTC 2024 - 9.3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go
Update(ctx context.Context, example *v1.Example, opts metav1.UpdateOptions) (*v1.Example, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Example, error)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 10:52:54 UTC 2024 - 8.6K bytes - Viewed (0) -
src/cmd/go/internal/modindex/scan.go
// non-nil *build.Package returned when an error occurs. // We need to do this before we return early on FindOnly flag. if !isDir(absdir) { // package was not found p.error = fmt.Errorf("cannot find package in:\n\t%s", absdir).Error() return p } entries, err := fsys.ReadDir(absdir) if err != nil { p.error = err.Error() return p } fset := token.NewFileSet()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 8.5K bytes - Viewed (0) -
src/internal/poll/fd_plan9.go
// ReadLock wraps FD.readLock. func (fd *FD) ReadLock() error { return fd.readLock() } // ReadUnlock wraps FD.readUnlock. func (fd *FD) ReadUnlock() { fd.readUnlock() } func isHangup(err error) bool { return err != nil && stringslite.HasSuffix(err.Error(), "Hangup") } func isInterrupted(err error) bool { return err != nil && stringslite.HasSuffix(err.Error(), "interrupted") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 14:00:54 UTC 2024 - 5.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/initializer/initializer_test.go
return schema.GroupVersionKind{}, nil } func (doNothingRESTMapper) KindsFor(resource schema.GroupVersionResource) ([]schema.GroupVersionKind, error) { return nil, nil } func (doNothingRESTMapper) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, error) { return schema.GroupVersionResource{}, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 8.2K bytes - Viewed (0)