- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of about 10,000 for error2 (0.29 sec)
-
security/pkg/pki/error/error.go
CertGenError // CAIllegalConfig means the configuration/deployment parameters for CA are incorrect CAIllegalConfig // CAInitFail means some other unexpected and fatal initilization failure CAInitFail ) // Error encapsulates the short and long errors. type Error struct { t ErrType err error } // Error returns the string error message. func (e Error) Error() string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Nov 13 17:41:21 UTC 2020 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors.go
utilerrors "k8s.io/apimachinery/pkg/util/errors" "k8s.io/apimachinery/pkg/util/sets" ) // Error is an implementation of the 'error' interface, which represents a // field-level validation error. type Error struct { Type ErrorType Field string BadValue interface{} Detail string } var _ error = &Error{} // Error implements the error interface. func (v *Error) Error() string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 11.1K bytes - Viewed (0) -
pkg/network/error.go
// limitations under the License. package network import ( "errors" "net" "net/http" ) func IsUnexpectedListenerError(err error) bool { if err == nil { return false } if errors.Is(err, net.ErrClosed) { return false } if errors.Is(err, http.ErrServerClosed) { return false } return true
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 21 08:25:27 UTC 2023 - 858 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/webhook/error.go
import ( "fmt" apierrors "k8s.io/apimachinery/pkg/api/errors" ) // ErrCallingWebhook is returned for transport-layer errors calling webhooks. It // represents a failure to talk to the webhook, not the webhook rejecting a // request. type ErrCallingWebhook struct { WebhookName string Reason error Status *apierrors.StatusError } func (e *ErrCallingWebhook) Error() string { if e.Reason != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 05 18:36:22 UTC 2021 - 1.4K bytes - Viewed (0) -
pkg/kubelet/errors.go
limitations under the License. */ package kubelet import "errors" const ( // NetworkNotReadyErrorMsg is used to describe the error that network is not ready NetworkNotReadyErrorMsg = "network is not ready" ) var ( // ErrNetworkUnknown indicates the network state is unknown ErrNetworkUnknown = errors.New("network state unknown")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 02:40:51 UTC 2019 - 876 bytes - Viewed (0) -
src/runtime/error.go
package runtime import ( "internal/abi" "internal/bytealg" ) // The Error interface identifies a run time error. type Error interface { error // RuntimeError is a no-op function but // serves to distinguish types that are run time // errors from ordinary errors: a type is a // run time error if it has a RuntimeError method. RuntimeError() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 9.9K 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/html/template/error.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 02 15:18:39 UTC 2023 - 9.3K bytes - Viewed (0) -
src/errors/errors.go
// Unwrap method to return an []error containing a nil error value. // // An easy way to create wrapped errors is to call [fmt.Errorf] and apply // the %w verb to the error argument: // // wrapsErr := fmt.Errorf("... %w ...", ..., err, ...) // // Successive unwrapping of an error creates a tree. The [Is] and [As] // functions inspect an error's tree by examining first the error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 19:45:41 UTC 2023 - 2.9K bytes - Viewed (0)