Seneca-CDOT / telescope

A tool for tracking blogs in orbit around Seneca's open source involvement
https://telescope.cdot.systems
BSD 2-Clause "Simplified" License
94 stars 188 forks source link

Create custom pages for HTTP 404, 403, 500s #890

Closed humphd closed 4 years ago

humphd commented 4 years ago

What would you like to be added:

Let's consider adding some custom pages for a few error cases that we have. I'm not 100% clear on the right way to deal with the difference between what lives in Gatsby and what is just static that we can access via Express. This will need some research.

What I'd like to deal with are these cases:

I don't think there are other cases, but people can add them if I'm missing any.

Why would you like this to be added:

This is something we could have some fun with, and bring a bit of whimsy or branding to our app. But it's not a critical component for a 1.0.

In Express we can do custom error handling with a function at the end of the middleware stack. Here are some links:

raygervais commented 4 years ago

Curious to take this on, expand out from the banner component.