/** * Thrown to render the 404 page (with status 404) instead of the matched * page: for unmatched or non-routable paths, and when a page's server * function returns `not_found: true`. */ export default class NotFoundError extends Error { status = 404; constructor(message) { super(message); this.name = "NotFoundError"; } }