static failed(error) {
    return new shaka.util.AbortableOperation(
        Promise.reject(error),
        () => Promise.resolve());
  }
@param {!shaka.util.Error} error
@return {!shaka.util.AbortableOperation} An operation which has already
  failed with the error given by the caller.
@export