DomainError body:
code is stable and names the domain it comes from; switch on it, not on the status alone.
details carries only the ids involved, and is often empty.
A
500 body carries a correlationId instead of a code:
correlationId when you report the problem; it finds the request in our logs.