handle more es6ify error messages