You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should go through everywhere where we throw new Error as well as where we might be catching errors from libraries and instead throw errors from the http-errors module with appropriate codes like 409 or 400 or 500.
We should go through everywhere where we throw
new Error
as well as where we might be catching errors from libraries and instead throw errors from thehttp-errors
module with appropriate codes like409
or400
or500
.https://www.npmjs.com/package/http-errors
The text was updated successfully, but these errors were encountered: