Azure / typespec-azure

About TypeSpec Azure Libraries
https://azure.github.io/typespec-azure/
MIT License
8 stars 29 forks source link

remove unused isErrorOrChildOfError #1068

Closed iscai-msft closed 2 weeks ago

iscai-msft commented 2 weeks ago

Right after we added this function, isErrorModel from @typespec/compiler would check inheritance for error. I've checked and no one uses this. Since it was never used, I'm going to go ahead and remove it

azure-sdk commented 2 weeks ago

All changed packages have been documented.

Show changes ### `@azure-tools/typespec-client-generator-core` - _internal_ [✏️](https://github.com/Azure/typespec-azure/edit/remove_is_error_child_of_error/.chronus/changes/remove_is_error_child_of_error-2024-5-24-15-29-24.md?pr=/Azure/typespec-azure/pull/1068) > remove unused isErrorOrChildOfError
azure-sdk commented 2 weeks ago

You can try these changes at https://cadlplayground.z22.web.core.windows.net/typespec-azure/prs/1068/

Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/1068/