GitHub user jparise opened a pull request:
https://github.com/apache/thrift/pull/1474
Recognize fbthrift TApplicationException codes
fbthrift defines [three additional TApplicationException error
codes](https://github.com/facebook/fbthrift/blob/master/thrift/lib/cpp/TApplicationException.h#L57-L59):
- LOADSHEDDING = 11
- TIMEOUT = 12
- INJECTED_FAILURE = 13
It's useful to include these in Apache Thrift for interoperability and
to guarantee that new values added here never conflict with the fbthrift
values.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jparise/thrift application-error-codes
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/1474.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1474
----
commit 6155e6b9135aae6c3d4c19e10b74061801753a40
Author: Jon Parise <jon@...>
Date: 2018-01-17T23:43:46Z
Recognize fbthrift TApplicationException codes
fbthrift defines three additional TApplicationException error codes:
- LOADSHEDDING = 11
- TIMEOUT = 12
- INJECTED_FAILURE = 13
It's useful to include these in Apache Thrift for interoperability and
to guarantee that new values added here never conflict with the fbthrift
values.
----
---