/// User-facing failures. View models expose these and views translate them /// with `AppLocalizations.errorText`, so a typo can't silently skip l10n. enum AppError { loadBar, createTab, outOfStock, addProductToTab, updateQuantity, closeTab, renameTab, deleteTab, loadHistory, loadMoreTabs, loadProducts, addProduct, updateProduct, deleteProduct, checkPinStatus, savePin, incorrectPin, verifyPin, currentPinIncorrect, tooManyPinAttempts, loadSettings, saveSettings, }