github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/objectstorage/v1/objects/errors.go (about)

     1  package objects
     2  
     3  import "github.com/huaweicloud/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  }