core: better bundler errors