@ -1641,7 +1641,7 @@ func toAPIErrorCode(ctx context.Context, err error) (apiErr APIErrorCode) {
apiErr = ErrKMSNotConfigured
apiErr = ErrKMSNotConfigured
case crypto . ErrKMSAuthLogin :
case crypto . ErrKMSAuthLogin :
apiErr = ErrKMSAuthFailure
apiErr = ErrKMSAuthFailure
case errOperationTimedOut , context . Canceled , context . DeadlineExceeded :
case context . Canceled , context . DeadlineExceeded :
apiErr = ErrOperationTimedOut
apiErr = ErrOperationTimedOut
case errDiskNotFound :
case errDiskNotFound :
apiErr = ErrSlowDown
apiErr = ErrSlowDown
@ -1769,6 +1769,8 @@ func toAPIErrorCode(ctx context.Context, err error) (apiErr APIErrorCode) {
apiErr = ErrOverlappingFilterNotification
apiErr = ErrOverlappingFilterNotification
case * event . ErrUnsupportedConfiguration :
case * event . ErrUnsupportedConfiguration :
apiErr = ErrUnsupportedNotification
apiErr = ErrUnsupportedNotification
case OperationTimedOut :
apiErr = ErrOperationTimedOut
case BackendDown :
case BackendDown :
apiErr = ErrBackendDown
apiErr = ErrBackendDown
case ObjectNameTooLong :
case ObjectNameTooLong :