superset-frontend/src/setup/setupErrorMessages.ts
Function setupErrorMessages
has 126 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function setupErrorMessages() {
const errorMessageComponentRegistry = getErrorMessageComponentRegistry();
errorMessageComponentRegistry.registerValue(
ErrorTypeEnum.FRONTEND_TIMEOUT_ERROR,