aboutsummaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2018-03-09 18:12:30 +0100
committerStefan Majewsky <majewsky@gmx.net>2018-03-09 18:12:30 +0100
commitaaf61ac55e18a04fd68b9b6ee4fd4fce49659eeb (patch)
tree31933f305106293d3c8119855bc382e7e014d45d /errors.go
parent9e8ed9ef479ca2084d9e34edfda0a99be34dbdb5 (diff)
downloadgo-schwift-aaf61ac55e18a04fd68b9b6ee4fd4fce49659eeb.tar.gz
add Account.BulkDelete()
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/errors.go b/errors.go
index 1eab131..d9487c8 100644
--- a/errors.go
+++ b/errors.go
@@ -39,6 +39,10 @@ var (
//ErrNotSupported is returned by bulk operations, large object operations,
//etc. if the server does not support the requested operation.
ErrNotSupported = errors.New("operation not supported by this Swift server")
+ //ErrAccountMismatch is returned by operations on an account that accept
+ //objects as arguments, if (some of) the provided objects are located in a
+ //different account.
+ ErrAccountMismatch = errors.New("some of the given objects are not in this account")
)
//UnexpectedStatusCodeError is generated when a request to Swift does not yield