shetaye / swish

A human-first video platform.
0 stars 0 forks source link

Write Error Handling #16

Closed shetaye closed 4 years ago

shetaye commented 4 years ago

The backend will need error handling code that goes beyond always returning a 500 and the Node error message.

Standard errors need to implemented for 404 Not Found, 400 Bad Request, and 500 Internal Server Error. Error handling should also be able to work with the chained nature of the services, nesting errors until reaching the API Gateway service, where it will be parsed into a client-readable form. (From GitLab)