|
|
@ -1441,6 +1441,8 @@ func toAPIErrorCode(err error) (apiErr APIErrorCode) { |
|
|
|
case auth.ErrInvalidSecretKeyLength: |
|
|
|
case auth.ErrInvalidSecretKeyLength: |
|
|
|
apiErr = ErrAdminInvalidSecretKey |
|
|
|
apiErr = ErrAdminInvalidSecretKey |
|
|
|
// SSE errors
|
|
|
|
// SSE errors
|
|
|
|
|
|
|
|
case errInvalidEncryptionParameters: |
|
|
|
|
|
|
|
apiErr = ErrInvalidEncryptionParameters |
|
|
|
case crypto.ErrInvalidEncryptionMethod: |
|
|
|
case crypto.ErrInvalidEncryptionMethod: |
|
|
|
apiErr = ErrInvalidEncryptionMethod |
|
|
|
apiErr = ErrInvalidEncryptionMethod |
|
|
|
case errInsecureSSERequest: |
|
|
|
case errInsecureSSERequest: |
|
|
|