github.com/chnsz/golangsdk@v0.0.0-20240506093406-85a3fbfa605b/openstack/objectstorage/v1/objects/errors.go (about)

     1  package objects
     2  
     3  import "github.com/chnsz/golangsdk"
     4  
     5  // ErrWrongChecksum is the error when the checksum generated for an object
     6  // doesn't match the ETAG header.
     7  type ErrWrongChecksum struct {
     8  	golangsdk.BaseError
     9  }
    10  
    11  func (e ErrWrongChecksum) Error() string {
    12  	return "Local checksum does not match API ETag header"
    13  }