Azure / azure-iot-sdk-csharp

A C# SDK for connecting devices to Microsoft Azure IoT services
Other
470 stars 492 forks source link

Add DeviceNotOnline to error codes #3444

Closed pregress closed 7 months ago

pregress commented 8 months ago

Checklist

Description of the changes

Added the error code: 404103 for Device online. So users can handle this error gracefully.

Reference/Link to the issue solved with this PR (if any)

Fixes: https://github.com/Azure/azure-iot-sdk-csharp/issues/3442

timtay-microsoft commented 8 months ago

/azp run

azure-pipelines[bot] commented 8 months ago
Azure Pipelines successfully started running 1 pipeline(s).
pregress commented 8 months ago

Any reason why .NET 6 pipelines fail? Can't view the error since it azure devops.

timtay-microsoft commented 7 months ago

/azp run

azure-pipelines[bot] commented 7 months ago
Azure Pipelines successfully started running 1 pipeline(s).
timtay-microsoft commented 7 months ago

/azp run

azure-pipelines[bot] commented 7 months ago
Azure Pipelines successfully started running 1 pipeline(s).
timtay-microsoft commented 7 months ago

We have some security rules in place that make it so forked PRs (like this one) can't access the credentials we use during our integration testing. Could you convert these changes into a branch on this repo instead?

pregress commented 7 months ago

We have some security rules in place that make it so forked PRs (like this one) can't access the credentials we use during our integration testing. Could you convert these changes into a branch on this repo instead?

@timtay-microsoft I do not have permissions to create a branch on this repo

timtay-microsoft commented 7 months ago

Ah, my apologies. I'll go ahead and create that branch for you. #3450 should be merged in shortly

timtay-microsoft commented 7 months ago

Your fix has been merged in #3450, so I'll close this PR