VideoRequiresPurchaseException constructor

VideoRequiresPurchaseException(
  1. VideoId videoId
)

Initializes an instance of VideoRequiresPurchaseException.

Implementation

VideoRequiresPurchaseException(VideoId videoId)
    : previewVideoId = null,
      super('Video `$videoId` is unplayable because it requires purchase.');