Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There’s a standard format for errors in JSON described in RFC 7807:

https://datatracker.ietf.org/doc/html/rfc7807

People shouldn’t invent their own custom error JSON when a standardised format will work.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: