You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's actually a little bit more wrong here, since it uses an error_code argument instead of the more widely used status, which is also referenced in the handling.
kvaellning
pushed a commit
to kvaellning/homekit_python
that referenced
this issue
Feb 28, 2022
The BLE-implementation tries to access the field "status", not the field
"error_code". This change brings RequestRejected more inline with the other
exception definitions.
see issue jlusiardi#232
Implementation of
RequestRejected
soed not pass "self" to the exception initialization, thus leading to an error on construction.I think it would be good to refactor the errors so that they are using
super().__init__(message)
-syntax instead ofException.__init__(message)
The text was updated successfully, but these errors were encountered: