Package com.github.twitch4j.kraken
Class TwitchKrakenErrorDecoder
java.lang.Object
com.github.twitch4j.kraken.TwitchKrakenErrorDecoder
- All Implemented Interfaces:
feign.codec.ErrorDecoder
@Deprecated
public class TwitchKrakenErrorDecoder
extends Object
implements feign.codec.ErrorDecoder
Deprecated.
Kraken is deprecated and has been shut down on Febuary 28, 2022.
More details about the deprecation are available here.
-
Nested Class Summary
Nested classes/interfaces inherited from interface feign.codec.ErrorDecoder
feign.codec.ErrorDecoder.Default, feign.codec.ErrorDecoder.RetryAfterDecoder
-
Constructor Summary
ConstructorDescriptionTwitchKrakenErrorDecoder
(feign.codec.Decoder decoder) Deprecated.Constructor -
Method Summary
-
Constructor Details
-
TwitchKrakenErrorDecoder
public TwitchKrakenErrorDecoder(feign.codec.Decoder decoder) Deprecated.Constructor- Parameters:
decoder
- Feign Decoder
-
-
Method Details
-
decode
Deprecated.Overwrite the Decode Method to handle custom error cases- Specified by:
decode
in interfacefeign.codec.ErrorDecoder
- Parameters:
methodKey
- Method Keyresponse
- Response- Returns:
- Exception
-