Closed dsebastien closed 5 years ago
Did you mean https://tools.ietf.org/html/rfc7807 ?
@RubenVerborgh They use both RFCs AFAICT: https://github.com/NationalBankBelgium/REST-API-Design-Guide/wiki/Error-handling-Error-details#representation
Indeed rfc7807. I've picked the wrong link :)
Indeed, seems like a good idea; I would just slap a JSON-LD context on there (and do conneg so we can have it in multiple formats).
Just an idea that popped while i was reading https://github.com/solid/solid-architecture/blob/master/server/request-flow.md.
https://tools.ietf.org/html/rfc7807 is pretty neat to standardize/structure error messages returned to clients and make it easier for them to interpret/handle the error details.
In a recent project, we integrated it and we found it really beneficial. You can find some docs and examples here (we've gone a bit further than what the RFC initially covered):