More meaningful error messages with unsupported filesystem operations (share and policy) (#1833)

This commit is contained in:
Anis Elleuch
2016-09-25 10:20:56 -07:00
committed by Harshavardhana
parent 2b24a7b520
commit 15b91126d5
4 changed files with 43 additions and 7 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ type APINotImplemented struct {
}
func (e APINotImplemented) Error() string {
return "‘" + e.API + "’ feature " + "is not implemented for ‘" + e.APIType + "’."
return "‘" + e.API + "’ is not supported for ‘" + e.APIType + "’."
}
// GenericBucketError - generic bucket operations error