Added AllAccessDisabled error

This commit is contained in:
Remco Verhoef
2017-05-05 18:49:08 -07:00
committed by Harshavardhana
parent dd5b975001
commit 4be609eb82
2 changed files with 10 additions and 0 deletions

View File

@@ -663,6 +663,8 @@ func toAPIErrorCode(err error) (apiErr APIErrorCode) {
apiErr = ErrStorageFull
case BadDigest:
apiErr = ErrBadDigest
case AllAccessDisabled:
apiErr = ErrAllAccessDisabled
case IncompleteBody:
apiErr = ErrIncompleteBody
case ObjectExistsAsDirectory: