feat: add more SIP-40 errors to SQL Lab (#15436)

This commit is contained in:
Beto Dealmeida
2021-06-29 18:17:16 -07:00
committed by GitHub
parent 743d9cc928
commit 149c5fd594
6 changed files with 120 additions and 16 deletions

View File

@@ -71,10 +71,18 @@ export default function setupErrorMessages() {
ErrorTypeEnum.INVALID_CVAS_QUERY_ERROR,
DatabaseErrorMessage,
);
errorMessageComponentRegistry.registerValue(
ErrorTypeEnum.QUERY_SECURITY_ACCESS_ERROR,
DatabaseErrorMessage,
);
errorMessageComponentRegistry.registerValue(
ErrorTypeEnum.CONNECTION_INVALID_HOSTNAME_ERROR,
DatabaseErrorMessage,
);
errorMessageComponentRegistry.registerValue(
ErrorTypeEnum.RESULTS_BACKEND_ERROR,
DatabaseErrorMessage,
);
errorMessageComponentRegistry.registerValue(
ErrorTypeEnum.SQLLAB_TIMEOUT_ERROR,
DatabaseErrorMessage,