decorator will raise just MaxTriesExceededError exception and in some situations raising of this exception will be unclear for user.
For example, if we are reach limit with BTLEDisconnect error at log level WARNING, then only critical message before raising MaxTriesExceededError will be shown.
decorator will raise just
MaxTriesExceededError
exception and in some situations raising of this exception will be unclear for user. For example, if we are reach limit withBTLEDisconnect
error at log level WARNING, then only critical message before raisingMaxTriesExceededError
will be shown.