Hand-And-Paw / hand-and-paw

https://handandpaw.herokuapp.com/landing-page/
MIT License
3 stars 4 forks source link

add error structure for users #191 #206

Closed rago89 closed 2 years ago

rago89 commented 2 years ago

Hello, I've made, the code structure error for the user API, could you please take a look, I'll make animals after acceptance criteria in users

dirk-jacobs commented 2 years ago

Not yet

Current return on 4xx: { message: ${error.name} ${error.message} }

Expected: Something like { code: ${error.code}, message: ${error.message} }