Daikin error as trigger?

Is there any way of catching a Daikin Heater error in order to restart the device? I have the Non-HACS integration and it seams not to expose errors. I have asked ChatGPT look thorugh the codebase of the HACS version, without luck. Is there any other solution for this? Is it available in the Daikin API? (I have looked some, but not found any, but I could have missed it) I know the Daikin app (Onecta) receives errors.