nvnamsss / streetlity-api

api server
0 stars 0 forks source link

Error handling #17

Open nvnamsss opened 4 years ago

nvnamsss commented 4 years ago

streetlity using many libraries thus the errors from libraries are not clear.

I'm thinking about some way to wrap the error in the server (server got the error and tell to the client) instead of in the client.

This way make the server going to be complicated but the error would be well-organized and the client just need to focus on the experience instead of the error