Writes the result of a typed route handler to the response.
Writes an error response with the given status, stable machine-readable error code, and optional human-readable details, e.g. body validation errors. Unlike the code, the details make no stability promise.
Optionaldetails: string[]
Default implementation of the ExternalApiResponseWriter.