Enum aspotify::RedirectedError [−][src]
pub enum RedirectedError {
InvalidUrl(ParseError),
IncorrectState,
AuthFailed(String),
Token(Error),
}
Expand description
An error caused by the Client::redirected
function.
Variants
InvalidUrl(ParseError)
The URL is malformed.
Tuple Fields of InvalidUrl
0: ParseError
The URL has no state parameter, or the state parameter was incorrect.
AuthFailed(String)
The user has not accepted the request or an error occured in Spotify.
This contains the string returned by Spotify in the error
parameter.
Tuple Fields of AuthFailed
0: String
Token(Error)
An error occurred getting the access token.
Tuple Fields of Token
0: Error
Trait Implementations
Performs the conversion.