Currently, the errors returned by mapstructure lack of structured details like the namepace and the value which caused them, which are essential to perform any post-decode action aimed to fix the problems. With this PR I address this issue by introducing the Namespace type and by refactoring the errors and their management.
Currently, the errors returned by mapstructure lack of structured details like the namepace and the value which caused them, which are essential to perform any post-decode action aimed to fix the problems. With this PR I address this issue by introducing the Namespace type and by refactoring the errors and their management.