From aaf61ac55e18a04fd68b9b6ee4fd4fce49659eeb Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Fri, 9 Mar 2018 18:12:30 +0100 Subject: add Account.BulkDelete() --- errors.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'errors.go') 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 -- cgit v1.2.3