Window.onerror does not work in Vue2.x

manually adding window.onerror in 2.5 does not catch errors
or how does it work?

Does

have to be handled in Vue.config.errorHandler ?

Feb.26,2021

window.onerror can only catch unhandled errors. If the error is handled by vue, you can't handle it at all

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bd413e-30414.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bd413e-30414.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?