Is there a way to show all errors the console logs to a browser? For example chrome browser console, logs a cross origin error whern trying to fetch local files. Or when forming an httprequest with ar reference link that does not exit it logs an a net error automatically. Can someone view this logs into a div.?
I am aware of other posts that explain how to view errors from javascript files. I need to view browser based errors. I would prefer an answer with javascript but any is ok.