zigpy / zigpy-xbee

A library which communicates with XBee radios for zigpy
GNU General Public License v3.0
22 stars 18 forks source link

Use specific exceptions for AT command responses #169

Closed Shulyaka closed 7 months ago

Shulyaka commented 8 months ago

As advised it https://github.com/zigpy/zigpy-xbee/pull/166#issuecomment-1790957041, this PR introduces specific exceptions for AT command responses.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (367fed5) 100.00% compared to head (2413670) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #169 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 6 7 +1 Lines 779 780 +1 ========================================= + Hits 779 780 +1 ``` | [Files](https://app.codecov.io/gh/zigpy/zigpy-xbee/pull/169?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy) | Coverage Δ | | |---|---|---| | [zigpy\_xbee/api.py](https://app.codecov.io/gh/zigpy/zigpy-xbee/pull/169?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy#diff-emlncHlfeGJlZS9hcGkucHk=) | `100.00% <100.00%> (ø)` | | | [zigpy\_xbee/exceptions.py](https://app.codecov.io/gh/zigpy/zigpy-xbee/pull/169?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy#diff-emlncHlfeGJlZS9leGNlcHRpb25zLnB5) | `100.00% <100.00%> (ø)` | | | [zigpy\_xbee/zigbee/application.py](https://app.codecov.io/gh/zigpy/zigpy-xbee/pull/169?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zigpy#diff-emlncHlfeGJlZS96aWdiZWUvYXBwbGljYXRpb24ucHk=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.