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

Update TProtocolException error codes to be used consistently throughout the library

    XMLWordPrintableJSON

Details

    • Patch Available

    Description

      The error codes for TProtoException are not fully consistent.

        enum TProtocolExceptionType
        { UNKNOWN = 0
        , INVALID_DATA = 1
        , NEGATIVE_SIZE = 2
        , SIZE_LIMIT = 3
        , BAD_VERSION = 4
        , NOT_IMPLEMENTED = 5
        , DEPTH_LIMIT = 6
        };
      

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

            jensg Jens Geyer
            jensg Jens Geyer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: