Function: toProblemResponse()
toProblemResponse(
problem):ProblemResponse
Defined in: packages/common/src/problem.ts:417
Renders a problem for the wire: the status, application/problem+json, and the
correlation id in both the body and the x-correlation-id header, so a client
that discards the body still has the id.