static destroyedError(error) {
    return new shaka.util.Error(
        shaka.util.Error.Severity.CRITICAL,
        shaka.util.Error.Category.PLAYER,
        shaka.util.Error.Code.OBJECT_DESTROYED,
        error);
  }
@param {*=} error The inner error, if any.
@return {!shaka.util.Error}