VideoRequiresPurchaseException class

Exception thrown when the requested video requires purchase.

Inheritance

Constructors

VideoRequiresPurchaseException(VideoId videoId)
Initializes an instance of VideoRequiresPurchaseException.
VideoRequiresPurchaseException.preview(VideoId videoId, VideoId? previewVideoId)
Initializes an instance of VideoRequiresPurchaseException.

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
Generic message.
finalinherited
previewVideoId VideoId?
VideoId instance
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

combine(YoutubeExplodeException e) → void
Add another exception to the stack.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited