feat: more error messages (#15409)

This commit is contained in:
Beto Dealmeida
2021-06-28 14:51:31 -07:00
committed by GitHub
parent e713912fdf
commit 21d1fb55c6
6 changed files with 57 additions and 5 deletions

View File

@@ -51,6 +51,10 @@ export default function setupErrorMessages() {
ErrorTypeEnum.MISSING_TEMPLATE_PARAMS_ERROR,
ParameterErrorMessage,
);
errorMessageComponentRegistry.registerValue(
ErrorTypeEnum.INVALID_TEMPLATE_PARAMS_ERROR,
ParameterErrorMessage,
);
errorMessageComponentRegistry.registerValue(
ErrorTypeEnum.RESULTS_BACKEND_NOT_CONFIGURED_ERROR,
DatabaseErrorMessage,