This needs to be addressed as a part of https://github.com/Azure/azure-sdk-for-net/issues/23372 - [ ] Add the functionality to new type in Azure.Core - [ ] Update generator shared source to use new Response-based APIs - [ ] Update libraries using ClientDiagnostics to move to the new type for exception creation - [ ] Remove functionality from ClientDiagnostics