Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.64k stars 2.84k forks source link

[ServiceBus] Ensure exceptions are idiomatic, properly named, and non-spurious. #13040

Closed KieranBrantnerMagee closed 4 years ago

KieranBrantnerMagee commented 4 years ago

Consider this issue "let's triage any well defined exception oddities we've found." An (incomplete) list below:

KieranBrantnerMagee commented 4 years ago
  1. Mode has been fixed within SB.
  2. Design discussion was had regarding these signatures, we're apt to add a prefix for items where cross-SDK verbiage exists (ala MessageError). Task has been created to do this work Here.
  3. Problem diagnosed, intentional design choice in UAMQP to log this as warning. Proposed solution is a "known vendor failures" parameter to allow callers to declare certain failures not-needing-to-be-warned if they're handled or understood in the caller context. Task has been created within UAMQP here.