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
    Constructor
    Description
    ErrorHandler(feign.jackson.JacksonDecoder decoder)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    decode(String methodKey, feign.Response response)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ErrorHandler

      public ErrorHandler(feign.jackson.JacksonDecoder decoder)
  • Method Details

    • decode

      public Exception decode(String methodKey, feign.Response response)
      Specified by:
      decode in interface feign.codec.ErrorDecoder