Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for StatusNotFound (0.08 sec)

  1. cmd/api-errors.go

    	ErrNoSuchBucket: {
    		Code:           "NoSuchBucket",
    		Description:    "The specified bucket does not exist",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrNoSuchBucketPolicy: {
    		Code:           "NoSuchBucketPolicy",
    		Description:    "The bucket policy does not exist",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrNoSuchBucketLifecycle: {
    		Code:           "NoSuchBucketLifecycle",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    		// Expecting the response status code to http.StatusNotFound (404).
    		{
    			bucketName:       bucketName,
    			uploadID:         uploadID,
    			copySourceHeader: url.QueryEscape(SlashSeparator + bucketName + SlashSeparator + "non-existent-object"),
    			accessKey:        credentials.AccessKey,
    			secretKey:        credentials.SecretKey,
    
    			expectedRespStatus: http.StatusNotFound,
    		},
    
    		// Test case - 9.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  3. cmd/warm-backend-azure.go

    		err = NotImplemented{}
    	case "OutOfRangeInput":
    		err = ObjectNameInvalid{
    			Bucket: bucket,
    			Object: object,
    		}
    	default:
    		switch statusCode {
    		case http.StatusNotFound:
    			if object != "" {
    				err = ObjectNotFound{
    					Bucket: bucket,
    					Object: object,
    				}
    			} else {
    				err = BucketNotFound{Bucket: bucket}
    			}
    		case http.StatusBadRequest:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. cmd/tier-handlers.go

    	}
    	// error returned when remote tier is not found
    	errTierNotFound = AdminError{
    		Code:       "XMinioAdminTierNotFound",
    		Message:    "Specified remote tier was not found",
    		StatusCode: http.StatusNotFound,
    	}
    	// error returned when remote tier name is not in uppercase
    	errTierNameNotUppercase = AdminError{
    		Code:       "XMinioAdminTierNameNotUpperCase",
    		Message:    "Tier name must be in uppercase",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. cmd/batch-rotate.go

    		if isErrBucketNotFound(err) {
    			return batchKeyRotationJobError{
    				Code:           "NoSuchSourceBucket",
    				Description:    "The specified source bucket does not exist",
    				HTTPStatusCode: http.StatusNotFound,
    			}
    		}
    		return err
    	}
    	if GlobalKMS == nil {
    		return errKMSNotConfigured
    	}
    	if err := r.Encryption.Validate(); err != nil {
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    			return batchReplicationJobError{
    				Code:           "NoSuchSourceBucket",
    				Description:    fmt.Sprintf("The specified bucket %s does not exist", localBkt),
    				HTTPStatusCode: http.StatusNotFound,
    			}
    		}
    		return err
    	}
    
    	if err := r.Source.Type.Validate(); err != nil {
    		return err
    	}
    	if err := r.Source.Snowball.Validate(); err != nil {
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  7. cmd/batch-expire.go

    		if isErrBucketNotFound(err) {
    			return batchExpireJobError{
    				Code:           "NoSuchSourceBucket",
    				Description:    "The specified source bucket does not exist",
    				HTTPStatusCode: http.StatusNotFound,
    			}
    		}
    		return err
    	}
    
    	if len(r.Rules) > maxBatchRules {
    		return batchExpireJobError{
    			Code:           "InvalidArgument",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top