Interface IFailedPartnerServiceResponseHandler

All Known Implementing Classes:
DefaultPartnerServiceErrorHandler

public interface IFailedPartnerServiceResponseHandler
Defines behavior for handling non successful responses from the partner service.
  • Method Details

    • handleFailedResponse

      PartnerException handleFailedResponse​(okhttp3.Response response)
      Handles failed partner service responses.
      Parameters:
      response - The partner service response.
      Returns:
      The exception to throw.
    • handleFailedResponse

      PartnerException handleFailedResponse​(okhttp3.Response response, IRequestContext context)
      Handles failed partner service responses.
      Parameters:
      response - The partner service response.
      context - The reqeust context.
      Returns:
      The exception to throw.