function BabelLoaderError(name, message, codeFrame, hideStack, error) {
  Error.call(this);
  this.name = "BabelLoaderError";
  this.message = formatMessage(name, message, codeFrame);
  this.hideStack = hideStack;
  this.error = error;
  Error.captureStackTrace(this, BabelLoaderError);
}
Error thrown by Babel formatted to conform to Webpack reporting.