CloudMigrations: handle more error codes from GMS backend (#95257)

* CloudMigrations: remove unnecessary if feature toggle gating

* CloudMigrations: handle new error codes from backend
This commit is contained in:
Matheus Macabu authored and GitHub committed 2024-10-24 15:55:02 +02:00
1 parent 77b8b505ad
commit 152b83b3fb
10 files changed
+27 -1

No files matched your search

+2
View File
@@ -149,6 +149,8 @@ type ItemErrorCode string
const (
ErrDatasourceNameConflict ItemErrorCode = "DATASOURCE_NAME_CONFLICT"
ErrDatasourceInvalidURL ItemErrorCode = "DATASOURCE_INVALID_URL"
ErrFolderNameConflict ItemErrorCode = "FOLDER_NAME_CONFLICT"
ErrDashboardAlreadyManaged ItemErrorCode = "DASHBOARD_ALREADY_MANAGED"
ErrLibraryElementNameConflict ItemErrorCode = "LIBRARY_ELEMENT_NAME_CONFLICT"
ErrUnsupportedDataType ItemErrorCode = "UNSUPPORTED_DATA_TYPE"