Error message component for displaying errors to users
Business Perspective
Provides clear, actionable error messages to users when operations fail,
maintaining trust and helping users understand what went wrong and how
to proceed. Critical for operational excellence. ⚠️
Technical Perspective
Reusable error display component with consistent styling and optional
retry functionality. Ensures errors are displayed in a user-friendly
manner across all widgets.
Example
// Simple error message <ErrorMessagemessage="Failed to load data"/>
// Error with custom title <ErrorMessage title="Connection Error" message="Unable to reach the server" />
// Error with retry button <ErrorMessage message="Failed to load metrics" retry={() =>refetchData()} />
Error message component for displaying errors to users
Business Perspective
Provides clear, actionable error messages to users when operations fail, maintaining trust and helping users understand what went wrong and how to proceed. Critical for operational excellence. ⚠️
Technical Perspective
Reusable error display component with consistent styling and optional retry functionality. Ensures errors are displayed in a user-friendly manner across all widgets.