onWillThrowError(callback) {
    return this.emitter.on('will-throw-error', callback);
  }