Azure / Azure/azure-iot-hub-node

Distinguishing 404 Errors in azure-iothub Library

Open
#36 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Hello,

I'm encountering challenges in distinguishing between different **404** errors returned by the azure-iothub library after sending a direct method. The 404 status code doesn't provide specific details, making it hard to differentiate errors like **GatewayTimeout**, **DeviceNotFound**, or **DeviceNotOnline**.

Could you please provide guidance on how to distinguish these specific error types within the 404 responses? Any assistance or insights on handling these errors effectively would be greatly appreciated.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.