Adds error-handling for the callbacks of gesture models passed to the gesture engine, adding stability when the models aren't properly defined. Also prevents a model with invalid initial state from evaluating any further, as that could invalidate assumptions based on said check in the path model.
The gesture engine uses configured callbacks in the specified gesture models to match the needs of the library's consumer. Should an error arise at critical points in that process, we need to ensure they don't destabilize the general core processes of the gesture engine, even if we do need to cancel the failed gesture-models.
Fixes #11186.
Adds error-handling for the callbacks of gesture models passed to the gesture engine, adding stability when the models aren't properly defined. Also prevents a model with invalid initial state from evaluating any further, as that could invalidate assumptions based on said check in the path model.
The gesture engine uses configured callbacks in the specified gesture models to match the needs of the library's consumer. Should an error arise at critical points in that process, we need to ensure they don't destabilize the general core processes of the gesture engine, even if we do need to cancel the failed gesture-models.
@keymanapp-test-bot skip