Props for the ErrorDisplay component.

export interface ErrorDisplayProps {
error: string;
detailedError: ApiError | null;
onRetry: () => void;
onClearPendingManga?: () => void;
}
interface ErrorDisplayProps {
    error: string;
    detailedError: null | ApiError;
    onRetry: () => void;
    onClearPendingManga?: () => void;
}

Properties

error: string

The main error message to display.

detailedError: null | ApiError

Optional detailed error object for technical information.

onRetry: () => void

Callback to retry the matching process.

onClearPendingManga?: () => void

Optional callback to clear pending manga data.