Detect nested errorCode in DocuSign response
Detect nested errorCode in DocuSign response

- Recursively detect “errorCode” anywhere in the response data
- Ignore the errorCode if its value is “SUCCESS”

This is a quick fix to detect errors. A more complete fix would be to
detect which portions of the request had errors (e.g. which specific
recipients we attempted to update failed to update).

renewablefunding/hancock