Class BackupActuator.ErrorHandler
java.lang.Object
io.camunda.zeebe.qa.util.actuator.BackupActuator.ErrorHandler
- All Implemented Interfaces:
feign.codec.ErrorDecoder
- Enclosing interface:
BackupActuator
public static final class BackupActuator.ErrorHandler
extends Object
implements feign.codec.ErrorDecoder
Custom error handler, mapping errors with body to custom types for easier
verification/handling. This is somewhat verbose, so any suggestions for improvements are
welcome.
-
Nested Class Summary
Nested classes/interfaces inherited from interface feign.codec.ErrorDecoder
feign.codec.ErrorDecoder.Default, feign.codec.ErrorDecoder.RetryAfterDecoder -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ErrorHandler
public ErrorHandler(feign.jackson.JacksonDecoder decoder)
-
-
Method Details
-
decode
- Specified by:
decodein interfacefeign.codec.ErrorDecoder
-