Home / Function/ CronJobRunDetailsEstimateErrorNotice() — supabase Function Reference

CronJobRunDetailsEstimateErrorNotice() — supabase Function Reference

Architecture documentation for the CronJobRunDetailsEstimateErrorNotice() function in CronJobsTab.EstimateErrorNotice.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.EstimateErrorNotice.tsx lines 10–42

export const CronJobRunDetailsEstimateErrorNotice = ({
  error,
  isRetrying,
  onRetry,
}: CronJobRunDetailsEstimateErrorNoticeProps) => {
  return (
    <Admonition
      type="warning"
      title="Error displaying cron jobs"
      description="There was an error displaying cron jobs. Please try again."
      className="max-w-3xl w-full"
    >
      <div className="space-y-3 text-sm">
        {error?.message && (
          <p className="text-foreground-light break-words">
            Error message: <code className="text-xs">{error.message}</code>
          </p>
        )}
        {onRetry && (
          <Button
            type="default"
            loading={isRetrying}
            disabled={isRetrying}
            className="mt-1"
            onClick={onRetry}
          >
            Retry check
          </Button>
        )}
      </div>
    </Admonition>
  )
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free