[wip] window.onerror