Files
kooltab/lib/models/app_error.dart
T
2026-10-08 04:12:36 +02:00

27 lines
512 B
Dart

/// 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,
}