- Add description for error ErrBucketAlreadyExists
master
Nitish Tiwari 8 years ago committed by Harshavardhana
parent 9c50a9f567
commit b829ec4a6b
  1. 5
      cmd/api-errors.go

@ -356,6 +356,11 @@ var errorCodeResponse = map[APIErrorCode]APIError{
Description: "The bucket you tried to delete is not empty", Description: "The bucket you tried to delete is not empty",
HTTPStatusCode: http.StatusConflict, HTTPStatusCode: http.StatusConflict,
}, },
ErrBucketAlreadyExists: {
Code: "BucketAlreadyExists",
Description: "The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again.",
HTTPStatusCode: http.StatusConflict,
},
ErrAllAccessDisabled: { ErrAllAccessDisabled: {
Code: "AllAccessDisabled", Code: "AllAccessDisabled",
Description: "All access to this bucket has been disabled.", Description: "All access to this bucket has been disabled.",

Loading…
Cancel
Save