app/routes/not-found.tsx
11 lines and 2 functions in DrDustinEdwards/dustinedwards-info, at commit 1590ba4 on 2026-10-24. This file on GitHub.
Functions
| Function | Lines | Complexity | Covered | CRAP | Mutation |
|---|---|---|---|---|---|
| loader | 6 to 8 | 1 | No data: no coverage report in this map | No data: no coverage report in this map | No data: no mutants in this code |
| NotFound | 10 to 12 | 1 | No data: no coverage report in this map | No data: no coverage report in this map | No data: no mutants in this code |
Imports
It imports no other module of this repo. No module of this repo imports it.
Source
/**
* An address no route claims. A route of its own, inside the legacy public layout (delete with it), so the 404 page carries the
* public stylesheets: an unmatched URL would otherwise match only the root, which has none. It needs a
* component to count as a page; the loader throws first, so the root's boundary is what renders.
*/
export function loader(): never {
throw new Response("Not Found", { status: 404, statusText: "Not Found" });
}
export default function NotFound() {
return null;
}