I'm using next/error and was expecting a standard message for status code 410
Add Page Deleted as the default message for 410
Users can easily pass in a custom title prop, but it would be nice to provide a default
I don't think this makes sense to add as a default as 410 is really not that common.
Echoing @timneutkens, Next.js doesn't emit a 410 status code by default.
Additionally, it's probably even more rare to hit a 410 because AFAIK users would typically 301 redirect to the new version.
It's not worth the bundle size increase in this case, IMO.
Do note, you can provide a custom message to the error component via the title prop.
got it - thanks 馃憤
Most helpful comment
Echoing @timneutkens, Next.js doesn't emit a
410status code by default.Additionally, it's probably even more rare to hit a
410because AFAIK users would typically301redirect to the new version.It's not worth the bundle size increase in this case, IMO.
Do note, you can provide a custom message to the error component via the
titleprop.