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
Is your feature request related to a problem? Please describe.
There are several locations within the project codebase that are throwing
This code search shows there are currently eight locations that should be refactored to throw Error objects, or objects created from the http-errors library that is already in use.
Describe the solution you'd like
All errors that are thrown in the server project show be derived from a proper Error object, and not generic objects. This will improve the consistency of the codebase and make troubleshooting easier.
As part of the code refactor, also double check that all error conditions and async (await) function calls are being caught and handled with try - catch blocks.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
Feature Overview
Is your feature request related to a problem? Please describe.
There are several locations within the project codebase that are throwing
This code search shows there are currently eight locations that should be refactored to throw Error objects, or objects created from the
http-errors
library that is already in use.Describe the solution you'd like
All errors that are thrown in the
server
project show be derived from a properError
object, and not generic objects. This will improve the consistency of the codebase and make troubleshooting easier.As part of the code refactor, also double check that all error conditions and async (await) function calls are being caught and handled with try - catch blocks.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: