I'm writing an error listener that listens for api problem responses and logs them. I'm generating a unique id for the log entry and would like to attach this to the api problem to be included in the response. It seems the only way to set $additionalDetails is on construct.
Originally posted by @pdizz at zfcampus/zf-api-problem#24