anchor.diff:          http_processing_failed     = 3
           OTHERS                     = 4 ).
       IF sy-subrc <> 0.
  -      CASE sy-subrc.
  -        WHEN 1.
  -          " make sure:
  -          " a) SSL is setup properly in STRUST
  -          " b) no firewalls
  -          " check trace file in transaction SMICM
  -          lv_text = 'HTTP Communication Failure'.           "#EC NOTEXT
  -        WHEN 2.
  -          lv_text = 'HTTP Invalid State'.                   "#EC NOTEXT
  -        WHEN 3.
  -          lv_text = 'HTTP Processing failed'.               "#EC NOTEXT
  -        WHEN OTHERS.
  -          lv_text = 'Another error occured'.                "#EC NOTEXT
  -      ENDCASE.
  +
  +      mi_client->get_last_error(
  +        IMPORTING
  +          code    = lv_code
  +          message = lv_message ).
  +
  +      lv_text = |HTTP error { lv_code } occured: { lv_code }|.
  +
  +*      CASE sy-subrc.
  +*        WHEN 1.
  +*          " make sure:
  +*          " a) SSL is setup properly in STRUST
  +*          " b) no firewalls
  +*          " check trace file in transaction SMICM
  +*          lv_text = 'HTTP Communication Failure'.           "#EC NOTEXT
  +*        WHEN 2.
  +*          lv_text = 'HTTP Invalid State'.                   "#EC NOTEXT
  +*        WHEN 3.
  +*          lv_text = 'HTTP Processing failed'.               "#EC NOTEXT
  +*        WHEN OTHERS.
  +*          lv_text = 'Another error occured'.                "#EC NOTEXT
  +*      ENDCASE.
  +
         zcx_abapgit_exception=>raise( lv_text ).
       ENDIF.
   
  
positive.code: 
    METHOD send_receive.
  
      DATA lv_text TYPE string.
  
      mi_client->send( ).
      mi_client->receive(
  
negative.code: 
      DATA: lv_host TYPE string,
            lt_list TYPE zif_abapgit_definitions=>ty_icm_sinfo2_tt,
            li_exit TYPE REF TO lif_exit.
  
      CALL FUNCTION 'ICM_GET_INFO2'
        TABLES
  