Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fresh/server.ts>ErrorPageProps

The next-gen web framework.
Extremely Popular
Go to Latest
interface ErrorPageProps
import { type ErrorPageProps } from "https://deno.land/x/fresh@1.5.1/server.ts";

Properties

url: URL

The URL of the request that resulted in this page being rendered.

pattern: string

The route matcher (e.g. /blog/:id) that the request matched for this page to be rendered.

error: unknown

The error that caused the error page to be loaded.

optional
codeFrame: string

Sringified code frame (only in development mode)