glitch/error
Types
pub type AuthError {
AccessTokenExpired
InvalidGetTokenRequest
InvalidAccessToken
TokenFetcherFetchError(cause: TwitchError)
TokenFetcherStartError
ValidateTokenError(cause: TwitchError)
}
Constructors
-
AccessTokenExpired -
InvalidGetTokenRequest -
InvalidAccessToken -
TokenFetcherFetchError(cause: TwitchError) -
TokenFetcherStartError -
ValidateTokenError(cause: TwitchError)
pub type EventSubError {
EventSubStartError
}
Constructors
-
EventSubStartError
pub type TwitchError {
AuthError(AuthError)
EventSubError(EventSubError)
InvalidResponseType(expected: String, received: String)
RequestError(Dynamic)
ResponseDecodeError(DecodeError)
ResponseError(status: Int, message: String)
}
Constructors
-
AuthError(AuthError) -
EventSubError(EventSubError) -
InvalidResponseType(expected: String, received: String) -
RequestError(Dynamic) -
ResponseDecodeError(DecodeError) -
ResponseError(status: Int, message: String)