Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 262 for ErrorIs (0.13 sec)

  1. cmd/api-errors.go

    }
    
    // toAPIErrorCode - Converts embedded errors. Convenience
    // function written to handle all cases where we have known types of
    // errors returned by underlying layers.
    func toAPIErrorCode(ctx context.Context, err error) (apiErr APIErrorCode) {
    	if err == nil {
    		return ErrNone
    	}
    
    	// Errors that are generated by net.Conn and any context errors must be handled here.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/binder_test.go

    			expectedClaims:  newClaimArray("claim1-1", "uid1-1", "1Gi", "volume1-1", v1.ClaimBound, nil, volume.AnnBoundByController, volume.AnnBindCompleted),
    			expectedEvents:  noevents,
    			errors:          noerrors,
    			test:            testSyncClaim,
    		},
    		{
    			// syncClaim does not do anything when there is no matching volume.
    			name:            "1-2 - noop",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 65.8K bytes
    - Viewed (0)
  3. pkg/proxy/winkernel/proxier.go

    	hns, _ := newHostNetworkService(hcnImpl)
    	networkName, err := getNetworkName(networkName)
    	if err != nil {
    		klog.ErrorS(err, "Unable to determine dual-stack status, falling back to single-stack")
    		return false
    	}
    	networkInfo, err := getNetworkInfo(hns, networkName)
    	if err != nil {
    		klog.ErrorS(err, "Unable to determine dual-stack status, falling back to single-stack")
    		return false
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  4. cmd/peer-rest-server.go

    	if !s.IsValid(w, r) {
    		s.writeErrorResponse(w, errors.New("Invalid request"))
    		return
    	}
    
    	vars := mux.Vars(r)
    	profiles := strings.Split(vars[peerRESTProfiler], ",")
    	if len(profiles) == 0 {
    		s.writeErrorResponse(w, errors.New("profiler name is missing"))
    		return
    	}
    	globalProfilerMu.Lock()
    	defer globalProfilerMu.Unlock()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    			// useful to cluster administrators to distinguish "server errors" from "user errors".
    			metrics.StartedContainersErrorsTotal.WithLabelValues(metricLabel, err.Error()).Inc()
    			if sc.HasWindowsHostProcessRequest(pod, spec.container) {
    				metrics.StartedHostProcessContainersErrorsTotal.WithLabelValues(metricLabel, err.Error()).Inc()
    			}
    			startContainerResult.Fail(err, msg)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  6. docs/metrics/prometheus/grafana/replication/minio-replication-cluster.json

                ]
              },
              "unit": "bytes"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "Replication Errors"
                },
                "properties": [
                  {
                    "id": "color",
                    "value": {
                      "fixedColor": "light-red",
                      "mode": "fixed"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 28 17:15:39 UTC 2024
    - 71.1K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/filesystem_interface.h

      /// Filesystems may choose to ignore configuration errors but should at least
      /// display a warning or error message to warn the users.
      ///
      /// Plugins:
      ///   * Must set `status` to `TF_OK` if options are updated.
      ///   * Might use any other error value for `status` to signal other errors.
      ///
      /// DEFAULT IMPLEMENTATION: return `TF_NOT_FOUND`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 17:36:54 UTC 2022
    - 53.1K bytes
    - Viewed (0)
  8. src/crypto/x509/x509.go

    	if template == nil {
    		return nil, errors.New("x509: template can not be nil")
    	}
    	if issuer == nil {
    		return nil, errors.New("x509: issuer can not be nil")
    	}
    	if (issuer.KeyUsage & KeyUsageCRLSign) == 0 {
    		return nil, errors.New("x509: issuer must have the crlSign key usage bit set")
    	}
    	if len(issuer.SubjectKeyId) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/load.go

    	// SilencePackageErrors indicates that LoadPackages should not print errors
    	// that occur while matching or loading packages, and should not terminate the
    	// process if such an error occurs.
    	//
    	// Errors encountered in the module graph will still be reported.
    	//
    	// The caller may retrieve the silenced package errors using the Lookup
    	// function, and matching errors are still populated in the Errs field of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  10. src/net/http/request.go

    // is either not present in the request or not a file field.
    var ErrMissingFile = errors.New("http: no such file")
    
    // ProtocolError represents an HTTP protocol error.
    //
    // Deprecated: Not all errors in the http package related to protocol errors
    // are of type ProtocolError.
    type ProtocolError struct {
    	ErrorString string
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
Back to top