Errors & boundaries

ErrorOverlay

Full-screen diagnostic overlay for arbitrary Error objects — stack frames and source snippets in development.

<ErrorOverlay />

Presentational overlay consumed by Router’s internal ErrorBoundary when a route throws. You can also render it manually while prototyping error UX.

import {  } from 'manicjs';

export function ({  }: { ?: Error }) {
  return < ={} />;
}

Props

Prop

Type


Behavior

Parses error.stack, highlights likely application frames, and (when maps/sources are available) surfaces contextual source excerpts. Intended for development ergonomics — ship a toned-down ~500.tsx page for end users (Framework error handling).


See also

On this page