This is a major refactoring of the exception handling in the Bluetooth backends. All errors are now wrapped in BluetootheBackendExceptions, this abstracts from the different exceptions of the different backends.
It also fixes a locking issues when an exception was raised during the connect operation.
Coverage decreased (-0.4%) to 92.727% when pulling c84b39cc967a6d5861226a08464b5c472234fde9 on ChristianKuehnel:exception_handling into 4cdbf135701095ccb344b83cdc3610376acd0155 on open-homeautomation:master.
Fixes https://github.com/open-homeautomation/miflora/issues/84
This is a major refactoring of the exception handling in the Bluetooth backends. All errors are now wrapped in BluetootheBackendExceptions, this abstracts from the different exceptions of the different backends.
It also fixes a locking issues when an exception was raised during the connect operation.