fix(errors)!: update generic errors
updates the generic error when getting data. The new TD flow handleConsents
should handle most cases.
If we reach this updated method, errors.UNKOWN should be sent to sentry for further analysis.
I also moved the test file next to its definition. It might not be usefull but I still kept test in case we want to add more tests business related.