YoutubeError enum

Youtube Errors

Inheritance

Constructors

YoutubeError()
const

Values

none → const YoutubeError

Error Free

invalidParam → const YoutubeError

The request contains an invalid parameter value.

For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.

html5Error → const YoutubeError

The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.

videoNotFound → const YoutubeError

The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.

notEmbeddable → const YoutubeError

The owner of the requested video does not allow it to be played in embedded players.

cannotFindVideo → const YoutubeError

The requested video couldn't be found.

sameAsNotEmbeddable → const YoutubeError

This error is the same as YoutubeError.notEmbeddable in disguise!

unknown → const YoutubeError

Unknown Error

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

values → const List<YoutubeError>
A constant List of the values in this enum, in order of their declaration.