Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5605

Go client middleware has no (easy) access to IDL exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.16.0
    • 0.17.0
    • Go - Library
    • None

    Description

      Similar to THRIFT-5527, this is the issue on the client side.

      But unlike THRIFT-5527, this cannot be resolved by a fix on the compiler code. We managed to write a reflect based helper function to extract the IDL exceptions out of the result TStruct, I think upstream that helper function to be a provided ClientMiddleware would be helpful.

      Attachments

        Issue Links

          Activity

            People

              fishywang Yuxuan Wang
              fishywang Yuxuan Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h