- Add extended error types with severity levels, retry policies, and contextual information (types/errors.ts) - Create centralized error handler service with user-friendly message translation and classification (services/errorHandler.ts) - Add ErrorContext for global error state management with auto-dismiss and error queue support (contexts/ErrorContext.tsx) - Create error UI components: ErrorToast, FieldError, FieldErrorSummary, FullScreenError, EmptyState, OfflineState - Add useError hook with retry strategies and API response handling - Add useAsync hook for async operations with comprehensive state - Create error message utilities with validation helpers - Add tests for errorHandler and errorMessages (88 tests) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
8 lines
220 B
TypeScript
8 lines
220 B
TypeScript
/**
|
|
* Error Components Export
|
|
*/
|
|
|
|
export { ErrorToast } from './ErrorToast';
|
|
export { FieldError, FieldErrorSummary } from './FieldError';
|
|
export { FullScreenError, EmptyState, OfflineState } from './FullScreenError';
|