DEV Community

loading...

Discussion on: Return well-formed error responses from your REST APIs

Collapse
suhas_chatekar profile image
Suhas Chatekar Author

You may have noticed in the example JSON I used in the post that the response is always an array. So if there are more than one errors then we just add those many entries of error object in the array.

Collapse
rhymes profile image
rhymes

sorry, I missed that!

Thanks!