Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for InvalidObjectState (0.16 sec)

  1. cmd/object-api-errors.go

    func (e TransitionStorageClassNotFound) Error() string {
    	return "Transition storage class not found "
    }
    
    // InvalidObjectState restore-object doesn't apply for the current state of the object.
    type InvalidObjectState GenericError
    
    func (e InvalidObjectState) Error() string {
    	return "The operation is not valid for the current state of the object " + e.Bucket + "/" + e.Object + "(" + e.VersionID + ")"
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		Description:    "The list of parts was not in ascending order. The parts list must be specified in order by part number.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidObjectState: {
    		Code:           "InvalidObjectState",
    		Description:    "The operation is not valid for the current state of the object.",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrAuthorizationHeaderMalformed: {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    		if err != nil {
    			return setRestoreHeaderFn(oi, err)
    		}
    		if pInfo.Size != partInfo.Size {
    			return setRestoreHeaderFn(oi, InvalidObjectState{Bucket: bucket, Object: object})
    		}
    		uploadedParts = append(uploadedParts, CompletePart{
    			PartNumber: pInfo.PartNumber,
    			ETag:       pInfo.ETag,
    		})
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top