Since you seem to serialize the error as JSON , please take a look at RFC7807 for standardizing JSON errors. https://paul.totterman.name/posts/rfc7807/
Since you seem to serialize the error as JSON , please take a look at RFC7807 for standardizing JSON errors. https://paul.totterman.name/posts/rfc7807/