aboutsummaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/errors.go b/errors.go
index 8e3eef6..0aa7acc 100644
--- a/errors.go
+++ b/errors.go
@@ -27,6 +27,9 @@ import (
)
var (
+ //ErrChecksumMismatch is returned by Object.Upload() when the Etag in the
+ //server response does not match the uploaded data.
+ ErrChecksumMismatch = errors.New("Etag on uploaded object does not match MD5 checksum of uploaded data")
//ErrNoContainerName is returned by Request.Do() if ObjectName is given, but
//ContainerName is empty.
ErrNoContainerName = errors.New("missing container name")