Hello, I would like this to support JSON:API [error objects](https://jsonapi.org/format/#error-objects). Is this something that you have considered? I might contribute an PR for this if this is something that you would like.