Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of about 10,000 for error3 (0.12 sec)

  1. cmd/kubeadm/app/util/error.go

    	os.Exit(code)
    }
    
    // CheckErr prints a user friendly error to STDERR and exits with a non-zero
    // exit code. Unrecognized errors will be printed with an "error: " prefix.
    //
    // This method is generic to the command in use and may be used by non-Kubectl
    // commands.
    func CheckErr(err error) {
    	checkErr(err, fatal)
    }
    
    // preflightError allows us to know if the error is a preflight error or not
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:35:10 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. 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)
  3. src/os/error.go

    	return underlyingErrorIs(err, ErrExist)
    }
    
    // IsNotExist returns a boolean indicating whether the error is known to
    // report that a file or directory does not exist. It is satisfied by
    // [ErrNotExist] as well as some syscall errors.
    //
    // This function predates [errors.Is]. It only supports errors returned by
    // the os package. New code should use errors.Is(err, fs.ErrNotExist).
    func IsNotExist(err error) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. errors.go

    	// ErrSubQueryRequired sub query required
    	ErrSubQueryRequired = errors.New("sub query required")
    	// ErrInvalidData unsupported data
    	ErrInvalidData = errors.New("unsupported data")
    	// ErrUnsupportedDriver unsupported driver
    	ErrUnsupportedDriver = errors.New("unsupported driver")
    	// ErrRegistered registered
    	ErrRegistered = errors.New("registered")
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Apr 26 02:53:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top