code: function () {
          if (!this.finished && this._canceller) {
              var error = this._canceller();
              if (!(error instanceof Error)) {
                  error = new Error(error);
              }
              return this.emitError(error);
          }
          return false;
      }
docs: Cancel the promise
  
  @return {boolean} true if error was handled