### Requirements Improve typings of `EvaluationDetails` and `ResolutionDetails` by forcing the addition of `errorCode` if reason = `ERROR`.