MicahWW / Money-Tracking-Functions

The backend to a service to help track how one's money is being spent
0 stars 0 forks source link

Standardize error catching for HTTP functions #18

Open MicahWW opened 5 months ago

MicahWW commented 5 months ago

There are common errors that will happen with all endpoints (like the ones in #2) it would be nice to have some way to have each of the endpoints have the same error detection/handling without having to copy-paste each said error detection/handling to each of the function endpoints. This will help standardize the API output across the endpoints resulting in better error handling by clients.