-
Notifications
You must be signed in to change notification settings - Fork 314
Open
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Event HubsService BusService BusService Busblocking-releaseBlocks releaseBlocks releaseneeds-triageWorkflow: This is a new issue that needs to be triaged to the appropriate team.Workflow: This is a new issue that needs to be triaged to the appropriate team.
Milestone
Description
Based on discussions about whether to add any ErrorKind
(consensus was "no"), we should (at least consider) exposing crate-specific errors from azure_core_amqp
instead of ErrorKind::Amqp
, which then forces doing the same for azure_messaging_eventhubs
and azure_messaging_servicebus
. Based on guidelines this is allowed; though, I need to update those a bit - the gist is there.
The requirement is that you MUST implement From<azure_core::Error>
because you will consume methods that return it, most likely. You SHOULD implement From<YourError> for azure_core::Error
as well, even if it means just wrapping the error with ErrorKind::Other
.
Metadata
Metadata
Assignees
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Event HubsService BusService BusService Busblocking-releaseBlocks releaseBlocks releaseneeds-triageWorkflow: This is a new issue that needs to be triaged to the appropriate team.Workflow: This is a new issue that needs to be triaged to the appropriate team.
Type
Projects
Status
Untriaged