Remove unused thiserror
variants in resolver
#7717
Merged
thiserror
variants in resolver
#7717