Showing the changes to cmd/api-errors.go (1 of 4 files). Show all
Unified · Split
| @@ -114,7 +114,6 @@ const ( · 113 unmodified lines | ||
| 114 | 114 | ErrInvalidQueryParams |
| 115 | 115 | ErrBucketAlreadyOwnedByYou |
| 116 | 116 | ErrInvalidDuration |
| 117 | − ErrNotSupported | |
| 118 | 117 | ErrBucketAlreadyExists |
| 119 | 118 | ErrMetadataTooLarge |
| 120 | 119 | ErrUnsupportedMetadata |
| @@ -748,8 +747,6 @@ func toAPIErrorCode(err error) (apiErr APIErrorCode) { · 627 unmodified lines | ||
| 748 | 747 | apiErr = ErrEntityTooLarge |
| 749 | 748 | case ObjectTooSmall: |
| 750 | 749 | apiErr = ErrEntityTooSmall |
| 751 | − case NotSupported: | |
| 752 | − apiErr = ErrNotSupported | |
| 753 | 750 | case NotImplemented: |
| 754 | 751 | apiErr = ErrNotImplemented |
| 755 | 752 | case PolicyNotFound: |