feat: more SIP-40 errors (#15482)

This commit is contained in:
Beto Dealmeida
2021-06-30 16:32:59 -07:00
committed by GitHub
parent ffa51753e3
commit e606477ec1
7 changed files with 98 additions and 14 deletions

View File

@@ -35,6 +35,10 @@ export default function setupErrorMessages() {
ErrorTypeEnum.BACKEND_TIMEOUT_ERROR,
TimeoutErrorMessage,
);
errorMessageComponentRegistry.registerValue(
ErrorTypeEnum.DATABASE_NOT_FOUND_ERROR,
DatabaseErrorMessage,
);
errorMessageComponentRegistry.registerValue(
ErrorTypeEnum.GENERIC_DB_ENGINE_ERROR,
DatabaseErrorMessage,
@@ -83,6 +87,10 @@ export default function setupErrorMessages() {
ErrorTypeEnum.RESULTS_BACKEND_ERROR,
DatabaseErrorMessage,
);
errorMessageComponentRegistry.registerValue(
ErrorTypeEnum.ASYNC_WORKERS_ERROR,
DatabaseErrorMessage,
);
errorMessageComponentRegistry.registerValue(
ErrorTypeEnum.SQLLAB_TIMEOUT_ERROR,
DatabaseErrorMessage,