CIA Compliance Manager API Documentation - v1.0.1
    Preparing search index...

    Variable ErrorMessageConst

    ErrorMessage: React.FC<ErrorMessageProps> = ...

    Error message component for displaying errors to users

    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. ⚠️

    Reusable error display component with consistent styling and optional retry functionality. Ensures errors are displayed in a user-friendly manner across all widgets.

    // Simple error message
    <ErrorMessage message="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()}
    />