Extracting Browser Console Errors

Hi there. I noticed this error appeared when running some tests even though they passed. I’ve not seen this before and it obviously does not appear in the standard RF report.

I just wondered how it is detecting this error and is there an easy way (specific library) to log all console errors when RF completes its test run.

Am I being thick with this question, or is it in wrong place?

As a noob I cannot judge the correct location of the question, but I think it is legit.
I found it because I have similar questions about console errors, I’d even like the test to fail if a console error occurs, (as they did not occur before)