- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 186 for error_0 (0.23 sec)
-
pkg/controller/garbagecollector/errors.go
limitations under the License. */ package garbagecollector import ( "fmt" ) type restMappingError struct { kind string version string } func (r *restMappingError) Error() string { versionKind := fmt.Sprintf("%s/%s", r.version, r.kind) return fmt.Sprintf("unable to get REST mapping for %s.", versionKind) } // Message prints more details func (r *restMappingError) Message() string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 28 14:00:10 UTC 2017 - 1.3K bytes - Viewed (0) -
internal/s3select/errors.go
package s3select import "strings" // SelectError - represents s3 select error specified in // https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html#RESTObjectSELECTContent-responses-special-errors. type SelectError interface { Cause() error ErrorCode() string ErrorMessage() string HTTPStatusCode() int Error() string } type s3Error struct { code string message string
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 14 16:48:36 UTC 2022 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/errors.go
func NewInvalidError(errors field.ErrorList) InvalidError { return InvalidError{errors} } // InternalError is generated when an error occurs in the storage package, i.e., // not from the underlying storage backend (e.g., etcd). type InternalError struct { Reason string } func (e InternalError) Error() string { return e.Reason } // IsInternalError returns true if and only if err is an InternalError.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 08 15:39:10 UTC 2023 - 5.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/errors.go
func NewForbidden(a Attributes, internalError error) error { // do not double wrap an error of same type if apierrors.IsForbidden(internalError) { return internalError } name, resource, err := extractResourceName(a) if err != nil { return apierrors.NewInternalError(utilerrors.NewAggregate([]error{internalError, err})) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 26 19:40:51 UTC 2017 - 2.3K bytes - Viewed (0) -
src/cmd/cgo/ast_go1.go
//go:build compiler_bootstrap package main import ( "go/ast" "go/token" ) func (f *File) walkUnexpected(x interface{}, context astContext, visit func(*File, interface{}, astContext)) { error_(token.NoPos, "unexpected type %T in walk", x) panic("unexpected type") } func funcTypeTypeParams(n *ast.FuncType) *ast.FieldList { return nil } func typeSpecTypeParams(n *ast.TypeSpec) *ast.FieldList {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 30 21:45:10 UTC 2022 - 578 bytes - Viewed (0) -
src/fmt/errors.go
package fmt import ( "errors" "slices" ) // Errorf formats according to a format specifier and returns the string as a // value that satisfies error. // // If the format specifier includes a %w verb with an error operand, // the returned error will implement an Unwrap method returning the operand. // If there is more than one %w verb, the returned error will implement an
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 1.7K 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) -
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) -
pkg/controller/util/endpointslice/errors.go
*/ package endpointslice // StaleInformerCache errors indicate that the informer cache includes out of // date resources. type StaleInformerCache struct { msg string } // NewStaleInformerCache return StaleInformerCache with error mes func NewStaleInformerCache(msg string) *StaleInformerCache { return &StaleInformerCache{msg} } func (e *StaleInformerCache) Error() string { return e.msg }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 14 07:15:35 UTC 2021 - 1K 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)