Unfortunately for JSON responses it's unimplemented, and it gets called *after* the `parse` method, which needs that info to know what to set in the error response. Would you be in favor of refactoring that logic instead of this part of the `parse` method?