mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
feat: Better Errors in SQL Lab (#15432)
* snowflake errors * added big query * added to setup error messages, first test * all big query testing added * added snowflake test * added syntax error * added syntax errors to most used databases
This commit is contained in:
@@ -107,6 +107,14 @@ export default function setupErrorMessages() {
|
||||
ErrorTypeEnum.SCHEMA_DOES_NOT_EXIST_ERROR,
|
||||
DatabaseErrorMessage,
|
||||
);
|
||||
errorMessageComponentRegistry.registerValue(
|
||||
ErrorTypeEnum.OBJECT_DOES_NOT_EXIST_ERROR,
|
||||
DatabaseErrorMessage,
|
||||
);
|
||||
errorMessageComponentRegistry.registerValue(
|
||||
ErrorTypeEnum.SYNTAX_ERROR,
|
||||
DatabaseErrorMessage,
|
||||
);
|
||||
errorMessageComponentRegistry.registerValue(
|
||||
ErrorTypeEnum.CONNECTION_DATABASE_PERMISSIONS_ERROR,
|
||||
DatabaseErrorMessage,
|
||||
|
||||
Reference in New Issue
Block a user