- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of about 10,000 for error3 (0.33 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/errors/errors.go
type Matcher func(error) bool // FilterOut removes all errors that match any of the matchers from the input // error. If the input is a singular error, only that error is tested. If the // input implements the Aggregate interface, the list of errors will be // processed recursively. // // This can be used, for example, to remove known-OK errors (such as io.EOF or // os.PathNotFound) from a list of errors.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 29 09:44:02 UTC 2023 - 6.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/errors.go
} // InternalError renders a simple internal error func InternalError(w http.ResponseWriter, req *http.Request, err error) { http.Error(w, sanitizer.Replace(fmt.Sprintf("Internal Server Error: %q: %v", req.RequestURI, err)), http.StatusInternalServerError) utilruntime.HandleError(err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 21 16:18:47 UTC 2018 - 2.8K bytes - Viewed (0) -
src/go/types/errors.go
// An errorDesc describes part of a type-checking error. type errorDesc struct { posn positioner 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 - 8.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/errors/errors.go
// IsAlreadyExists determines if the err is an error which indicates that a specified resource already exists. // It supports wrapped errors and returns false when the error is nil. func IsAlreadyExists(err error) bool { return ReasonForError(err) == metav1.StatusReasonAlreadyExists } // IsConflict determines if the err is an error which indicates the provided update conflicts. // It supports wrapped errors and returns false when the error is nil.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 21 03:41:32 UTC 2022 - 30.5K bytes - Viewed (0) -
pkg/kubelet/cm/admission/errors.go
package admission import ( "errors" "fmt" "k8s.io/kubernetes/pkg/kubelet/lifecycle" ) const ( ErrorReasonUnexpected = "UnexpectedAdmissionError" ) type Error interface { Error() string Type() string } type unexpectedAdmissionError struct{ Err error } var _ Error = (*unexpectedAdmissionError)(nil) func (e *unexpectedAdmissionError) Error() string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 08 21:15:37 UTC 2021 - 1.4K bytes - Viewed (0) -
src/go/scanner/errors.go
"fmt" "go/token" "io" "sort" ) // In an [ErrorList], an error is represented by an *Error. // The position Pos, if valid, points to the beginning of // the offending token, and the error condition is described // by Msg. type Error struct { Pos token.Position Msg string } // Error implements the error interface. func (e Error) Error() string { if e.Pos.Filename != "" || e.Pos.IsValid() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 3K bytes - Viewed (0) -
internal/hash/errors.go
type ChecksumMismatch struct { Want string Got string } func (e ChecksumMismatch) Error() string { return "Bad checksum: Want " + e.Want + " does not match calculated " + e.Got } // IsChecksumMismatch matches if 'err' is hash.ChecksumMismatch func IsChecksumMismatch(err error) bool { var herr ChecksumMismatch return errors.As(err, &herr)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon May 15 21:08:54 UTC 2023 - 2.4K bytes - Viewed (0) -
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) -
internal/bucket/lifecycle/error.go
package lifecycle import ( "fmt" ) // Error is the generic type for any error happening during tag // parsing. type Error struct { err error } // Errorf - formats according to a format specifier and returns // the string as a value that satisfies error of type tagging.Error func Errorf(format string, a ...interface{}) error { return Error{err: fmt.Errorf(format, a...)} } // Unwrap the internal error.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.3K bytes - Viewed (0) -
internal/bucket/versioning/error.go
package versioning import ( "fmt" ) // Error is the generic type for any error happening during tag // parsing. type Error struct { err error } // Errorf - formats according to a format specifier and returns // the string as a value that satisfies error of type tagging.Error func Errorf(format string, a ...interface{}) error { return Error{err: fmt.Errorf(format, a...)} } // Unwrap the internal error.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.3K bytes - Viewed (0)