Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 2,742 for error_ (0.31 seconds)

  1. generics.go

    func (g execG[T]) First(ctx context.Context) (T, error) {
    	var r T
    	err := g.g.apply(ctx).First(&r).Error
    	return r, err
    }
    
    func (g execG[T]) Scan(ctx context.Context, result interface{}) error {
    	var r T
    	err := g.g.apply(ctx).Model(r).Find(result).Error
    	return err
    }
    
    func (g execG[T]) Last(ctx context.Context) (T, error) {
    	var r T
    	err := g.g.apply(ctx).Last(&r).Error
    	return r, err
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:34:24 GMT 2026
    - 26K bytes
    - Click Count (0)
  2. tests/test_additional_responses_custom_validationerror.py

                            "required": ["errors"],
                            "type": "object",
                            "properties": {
                                "errors": {
                                    "title": "Errors",
                                    "type": "array",
                                    "items": {"$ref": "#/components/schemas/Error"},
                                }
                            },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  3. src/archive/tar/common.go

    var (
    	ErrHeader          = errors.New("archive/tar: invalid tar header")
    	ErrWriteTooLong    = errors.New("archive/tar: write too long")
    	ErrFieldTooLong    = errors.New("archive/tar: header field too long")
    	ErrWriteAfterClose = errors.New("archive/tar: write after close")
    	ErrInsecurePath    = errors.New("archive/tar: insecure file path")
    	errMissData        = errors.New("archive/tar: sparse file references non-existent data")
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  4. cmd/object_api_suite_test.go

    	if err == nil {
    		t.Fatal("Expected error but found nil")
    	}
    	if err.Error() != "Bucket not found: bucket1" {
    		t.Errorf("%s: Expected the error msg to be `%s`, but instead found `%s`", instanceType, "Bucket not found: bucket1", err.Error())
    	}
    }
    
    // Wrapper for calling testBucketRecreateFails for both Erasure and FS.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  5. internal/grid/muxserver.go

    	default:
    		gridLogIf(m.ctx, errors.New("output unblocked overflow"))
    	}
    }
    
    func (m *muxServer) ping(seq uint32) pongMsg {
    	if !m.checkSeq(seq) {
    		msg := fmt.Sprintf("receive sequence number mismatch. want %d, got %d", m.RecvSeq, seq)
    		return pongMsg{Err: &msg}
    	}
    	select {
    	case <-m.ctx.Done():
    		err := context.Cause(m.ctx).Error()
    		return pongMsg{Err: &err}
    	default:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  6. cmd/object-api-utils.go

    	}
    
    	if nDisks < len(di)/2 || nDisks <= 0 {
    		var errs []error
    		for index, disk := range di {
    			switch {
    			case disk == nil:
    				errs = append(errs, fmt.Errorf("disk[%d]: offline", index))
    			case disk.Error != "":
    				errs = append(errs, fmt.Errorf("disk %s: %s", disk.Endpoint, disk.Error))
    			case disk.Total == 0:
    				errs = append(errs, fmt.Errorf("disk %s: total is zero", disk.Endpoint))
    			}
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  7. cmd/encryption-v1.go

    	errKMSDefaultKeyAlreadyConfigured = errors.New("A default encryption already exists on KMS")
    	// Additional MinIO errors for SSE-C requests.
    	errObjectTampered = errors.New("The requested object was modified and may be compromised")
    	// error returned when invalid encryption parameters are specified
    	errInvalidEncryptionParameters     = errors.New("The encryption parameters are not applicable to this object")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 38K bytes
    - Click Count (0)
  8. src/cmd/asm/internal/asm/expr_test.go

    		if err == nil {
    			if test.error != "" {
    				t.Errorf("#%d: %q: expected error %q; got none", i, test.input, test.error)
    			}
    			continue
    		}
    		if !strings.Contains(err.Error(), test.error) {
    			t.Errorf("#%d: expected error %q; got %q", i, test.error, err)
    			continue
    		}
    	}
    }
    
    func runBadTest(i int, test badExprTest, t *testing.T) (err error) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Click Count (0)
  9. cmd/data-usage-cache.go

    	PutObject(ctx context.Context, bucket, object string, data *PutObjReader, opts ObjectOptions) (objInfo ObjectInfo, err error)
    }
    
    // load the cache content with name from minioMetaBackgroundOpsBucket.
    // Only backend errors are returned as errors.
    // The loader is optimistic and has no locking, but tries 5 times before giving up.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  10. internal/bucket/replication/rule.go

    	errInvalidRuleID                          = Errorf("ID must be less than 255 characters")
    	errEmptyRuleStatus                        = Errorf("Status should not be empty")
    	errInvalidRuleStatus                      = Errorf("Status must be set to either Enabled or Disabled")
    	errDeleteMarkerReplicationMissing         = Errorf("DeleteMarkerReplication must be specified")
    	errPriorityMissing                        = Errorf("Priority must be specified")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.3K bytes
    - Click Count (0)
Back to Top