Propagate error.onError events from Phantom

They can then be handled in Gruntfile.js using 
grunt.event.on('qunit.error.onError', function (msg, stack) { ... })