Exception: TwitchOAuth2::UnsupportedTokenTypeError
- Defined in:
- lib/twitch_oauth2/unsupported_token_type_error.rb
Overview
Error with ‘:token_type` recognition
Instance Method Summary collapse
-
#initialize(token_type) ⇒ UnsupportedTokenTypeError
constructor
A new instance of UnsupportedTokenTypeError.
Constructor Details
#initialize(token_type) ⇒ UnsupportedTokenTypeError
Returns a new instance of UnsupportedTokenTypeError.
6 7 8 |
# File 'lib/twitch_oauth2/unsupported_token_type_error.rb', line 6 def initialize(token_type) super "Unsupported token type: `#{token_type}`" end |