<p><a href="https://www.valentinog.com/blog/error/" rel="noopener noreferrer" target="_blank">https://www.valentinog.com/blog/error/</a> </p><p>ottimo articolo per la gestione degli errori in js</p>