Support sharded DuplicateKey exceptions

JAVA-1103
Also whats the reasoning to check before errObjects?