foss42 / api

Open Source APIs
https://api.apidash.dev/docs
Apache License 2.0
59 stars 28 forks source link

Providing Detailed Error instead of common error #15

Closed atishayj2202 closed 4 months ago

atishayj2202 commented 4 months ago

There should be a specific error for each not Internal Server Error even if input was invalid.

It should be something like invalid input or data not found.

This was seen in Country Endpoints

animator commented 4 months ago

Send an example PR for review solving this issue.

atishayj2202 commented 4 months ago

ok

atishayj2202 commented 4 months ago

I am in GSSOC. I have made branch #27