YoutubeError enum
Youtube Errors
Values
- none → const YoutubeError
-
Error Free
const YoutubeError(0)
- 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.
const YoutubeError(2)
- html5Error → const YoutubeError
-
The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.
const YoutubeError(5)
- 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.
const YoutubeError(100)
- notEmbeddable → const YoutubeError
-
The owner of the requested video does not allow it to be played in embedded players.
const YoutubeError(101)
- cannotFindVideo → const YoutubeError
-
The requested video couldn't be found.
const YoutubeError(105)
- sameAsNotEmbeddable → const YoutubeError
-
This error is the same as YoutubeError.notEmbeddable in disguise!
const YoutubeError(150)
- unknown → const YoutubeError
-
Unknown Error
const YoutubeError(-1)
Properties
- code → int
-
Code of the error.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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.