Hello Jean,
try/onerror is just a way to manage errors.
They happens because a lot of reasons (values too high, file I/O, operation on strings, mixed types on data sources, mixed units, bad user input, etc...) and you might expect some specific errors or some "possible, currently undefined" errors.
If you might want to handle them in a custom way other than the low-level error message, that is the function to do it.
For example you can use it to override results with some default value, or give some hint to change something; the use depends on the context, what are the input variables and what you expect to happen in case of a predictable or "unpredictable" error.
IDK if can be improved in some way, but is a common and very simple function in most programming languages (try-catch in C-style languages, try-except in Phyton, ...)
![2022-01-28 13_39_04-SMath Solver - [Worksheet1_].png](/ru-RU/file/YYVog4/2022-01-28-13_39_04-SMath-Solver---_Worksheet1___png)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects