// 404
Page Not Found
This route could not be resolved, but we can recover.
not-found.ts
import { Effect } from "effect"ยconst page = Effect.fail("404: Not Found").pipe(Effect.catchAll(() => Effect.succeed("/")))
// 404
This route could not be resolved, but we can recover.
import { Effect } from "effect"ยconst page = Effect.fail("404: Not Found").pipe(Effect.catchAll(() => Effect.succeed("/")))