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

Update TProtocolException error codes to be used consistently throughout the library

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment