calebmer / connect

10 stars 2 forks source link

Error handling #15

Closed calebmer closed 5 years ago

calebmer commented 5 years ago

If a page does not exist, we need something to show the user that is not “TODO”. Preferably we would have different 404s for:

Also, a 404 page could mean you don’t have access. It might still exist.

calebmer commented 5 years ago

Generalizing this issue to error handling in general.

calebmer commented 5 years ago

Also see: https://uxdesign.cc/designing-for-different-ui-states-87d60130f85f

calebmer commented 5 years ago

Chaos monkey is super useful for finding places to handle errors!

https://github.com/calebmer/connect/blob/5680ef18730b06d2699640eee29cc4cb0d0eb250/api/server/src/ServerHTTP.ts#L144-L159

image