OneSignalDevelopers / ngosi

Share your slides with a QR code
https://ngosi.io
MIT License
9 stars 5 forks source link

Improve HTTP status code comms #15

Closed iAmWillShepherd closed 2 years ago

iAmWillShepherd commented 2 years ago

We're using a bunch of magic numbers indiscriminately for HTTP status codes, and these should be more consistent to improve both the DX and how we handle errors on the client. There's a package called http-status-codes that's an excellent first step to improving things.