Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for error (0.16 sec)

  1. cmd/site-replication.go

    type concErr struct {
    	errMap     map[string]error
    	summaryErr error
    }
    
    func (c concErr) Error() string {
    	if c.summaryErr != nil {
    		return c.summaryErr.Error()
    	}
    	return "<nil>"
    }
    
    func (c concErr) Unwrap() error {
    	return c.summaryErr
    }
    
    func (c *SiteReplicationSys) toErrorFromErrMap(errMap map[string]error, actionName string) error {
    	if len(errMap) == 0 {
    		return nil
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  2. cmd/object-handlers_test.go

    					var errXML APIErrorResponse
    					err = xml.Unmarshal(errBytes, &errXML)
    					if err != nil {
    						t.Fatalf("%s, Failed to unmarshal error response from upload part request \"%s\"/\"%s\": <ERROR> %v.",
    							reqType, bucketName, test.objectName, err)
    					}
    					// Validate whether the error has occurred for the expected reason.
    					if want.Code != errXML.Code {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    func (p *ReplicationPool) loadMRF() (mrfRec MRFReplicateEntries, err error) {
    	loadMRF := func(rc io.ReadCloser) (re MRFReplicateEntries, err error) {
    		defer rc.Close()
    
    		if !p.initialized() {
    			return re, nil
    		}
    		var data [4]byte
    		n, err := rc.Read(data[:])
    		if err != nil {
    			return re, err
    		}
    		if n != len(data) {
    			return re, errors.New("replication mrf: no data")
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  4. cmd/storage-datatypes_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "Metrics")
    		return
    	}
    	z.Error, err = dc.ReadString()
    	if err != nil {
    		err = msgp.WrapError(err, "Error")
    		return
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *DiskInfo) EncodeMsg(en *msgp.Writer) (err error) {
    	// array header, size 18
    	err = en.Append(0xdc, 0x0, 0x12)
    	if err != nil {
    		return
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrBadRequest), r.URL)
    		return
    	}
    
    	opts, err := getOpts(ctx, r, bucket, object)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Check for auth type to return S3 compatible error.
    	// type to return the correct error (NoSuchKey vs AccessDenied)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.NEW_INFERENCE_ERROR) { firDiagnostic ->
            NewInferenceErrorImpl(
                firDiagnostic.a,
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.OTHER_ERROR) { firDiagnostic ->
            OtherErrorImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    </p>
    
    <h2 id="Errors">Errors</h2>
    
    <p>
    The predeclared type <code>error</code> is defined as
    </p>
    
    <pre>
    type error interface {
    	Error() string
    }
    </pre>
    
    <p>
    It is the conventional interface for representing an error condition,
    with the nil value representing no error.
    For instance, a function to read data from a file might be defined:
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.30.md

    - When using `kubectl logs <pod-name>` and the pod is not found, the error message now includes the namespace. Previously, the message would be "Error from server (NotFound): pods "my-pod-name" not found". Now, it reflects the namespace in the message as follows: "Error from server (NotFound): pods "my-pod-name" not found in namespace "default"".
    Plain Text
    - Registered: Fri Apr 26 09:05:10 GMT 2024
    - Last Modified: Wed Apr 17 17:56:15 GMT 2024
    - 227.9K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.cc

    using tensorflow::string;
    using tensorflow::Tensor;
    using tensorflow::TensorId;
    using tensorflow::TensorShapeProto;
    using tensorflow::VersionDef;
    using tensorflow::errors::FailedPrecondition;
    using tensorflow::errors::InvalidArgument;
    using tensorflow::errors::OutOfRange;
    using tensorflow::gtl::ArraySlice;
    using tensorflow::strings::StrCat;
    
    extern "C" {
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  10. cmd/metrics-v2.go

    		Subsystem: driveSubsystem,
    		Name:      "errors_timeout",
    		Help:      "Total number of drive timeout errors since server start",
    		Type:      counterMetric,
    	}
    }
    
    func getNodeDriveIOErrorsMD() MetricDescription {
    	return MetricDescription{
    		Namespace: nodeMetricNamespace,
    		Subsystem: driveSubsystem,
    		Name:      "errors_ioerror",
    		Help:      "Total number of drive I/O errors since server start",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
Back to top