Custom vercel-error pages
Unanswered
Ratonero Murciano de Huerta posted this in #help-forum
Ratonero Murciano de HuertaOP
Say you're hit with
FUNCTION_INVOCATION_TIMEOUT
-- is there a method to showing a custom error page instead of Vercel's error? I realize Vercel is effectively "taking over" the response for your application, but I didn't see any custom error page configurations on Vercel or in vercel.json
. My only other thought is using Cloudflare error pages while intercepting the response2 Replies
@Ratonero Murciano de Huerta Say you're hit with `FUNCTION_INVOCATION_TIMEOUT` -- is there a method to showing a custom error page instead of Vercel's error? I realize Vercel is effectively "taking over" the response for your application, but I didn't see any custom error page configurations on Vercel or in `vercel.json`. My only other thought is using Cloudflare error pages while intercepting the response
when it happens during the request (for example in server components), you can't really prevent it. For function timeout for example via server actions, route handlers, ... you can control it yourself
@Ratonero Murciano de Huerta solved?