mirror of
https://github.com/apache/superset.git
synced 2026-05-12 03:15:55 +00:00
feat: error messages for Presto connections (#14172)
* chore: rename connection errors * feat: error messages for Presto connections * Add unit tests * Update docs/src/pages/docs/Miscellaneous/issue_codes.mdx Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
This commit is contained in:
@@ -79,5 +79,9 @@ export default function setupErrorMessages() {
|
||||
ErrorTypeEnum.CONNECTION_UNKNOWN_DATABASE_ERROR,
|
||||
DatabaseErrorMessage,
|
||||
);
|
||||
errorMessageComponentRegistry.registerValue(
|
||||
ErrorTypeEnum.SCHEMA_DOES_NOT_EXIST_ERROR,
|
||||
DatabaseErrorMessage,
|
||||
);
|
||||
setupErrorMessagesExtra();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user