All Downloads are FREE. Search and download functionalities are using the official Maven repository.

macros.syncclientclass.json.ClientInvokeMethodErrorResponseHandlerCreation.ftl Maven / Gradle / Ivy

<#--
    Glacier has a special JsonErrorResponseHandler to handle a differently named error type field.
    This macro is overridden in the Glacier client.
-->
<#macro content metadata customizationConfig>
   HttpResponseHandler errorResponseHandler =
       protocolFactory.createErrorResponseHandler(
           new JsonErrorResponseMetadata()
           <#if customizationConfig.customErrorCodeFieldName?? >
               .withCustomErrorCodeFieldName("${customizationConfig.customErrorCodeFieldName}")
           
       );





© 2015 - 2025 Weber Informatics LLC | Privacy Policy