refactor: restructure VideoUnavailable error
remove internal error types from public interface
This commit is contained in:
parent
6ab7b2415a
commit
289b1cdbf4
6 changed files with 151 additions and 106 deletions
|
|
@ -37,6 +37,8 @@ pub(crate) enum PlayabilityStatus {
|
|||
LoginRequired {
|
||||
#[serde(default)]
|
||||
reason: String,
|
||||
#[serde(default)]
|
||||
messages: Vec<String>,
|
||||
},
|
||||
#[serde(rename_all = "camelCase")]
|
||||
LiveStreamOffline {
|
||||
|
|
|
|||
Reference in a new issue