Map a thrown error to the problem the server sends. Anything that is not a known client error becomes a 500 with a fixed detail: internal messages and stacks never reach the client.
Map a thrown error to the problem the server sends. Anything that is not a known client error becomes a 500 with a fixed detail: internal messages and stacks never reach the client.