Init - wait and restart init

Hi,

I’ve developed a custom component, but I’d like to be able to handle the errors during the init phase.

I’d like to add a waiting time (configurable), and then restart the init phase.

Is there a method or function that I could add to the init ?

Thanks