[]previous and next page

PrerenderFailureEvent

A page that did not render.

A page that did not render.

Import#

ts
import type { PrerenderFailureEvent } from "@shadow-js/dusk/vite";

Signature#

ts
interface PrerenderFailureEvent {
  readonly path: string;
  /** The reason: an `Error`, usually a `PrerenderError`. */
  readonly error: unknown;
  /** True for a path the build listed; false for a path the crawl found. */
  readonly explicit: boolean;
}

Members#

Name Type Description
path readonly path: string
error readonly error: unknown The reason: an Error, usually a PrerenderError.
explicit readonly explicit: boolean True for a path the build listed; false for a path the crawl found.