ยฉ 2026 Hedgehog Software, LLC
export function routeData({ params }) { return createServerData$( async (value) => { if (value !== 'dlk;d;fd;fak') { throw new ServerError('Thing Not Found') } return { value } }, { key: () => params.title, deferStream: true }, ) }
<ErrorBoundary fallback={(e) => ( <Show when={e.message === 'Thing Not Found'}> <div> <HttpStatusCode code={404} /> <h1 class='text-textColor text-8xl'>Wrong</h1> </div> </Show> )} >