You can certainly detect errors and run rules to “do something”, like messaging.
I cannot help with what the “do something” ought to be for Solaredge recovery.
I expect you’re doing this already, but make sure your router DHCP is set up to issue static IP addresses to to openHAB and Solaredge, or set fixed addresses in them, in case the “loss” was due to unexpected IP change.