Github user jeking3 commented on the issue:
https://github.com/apache/thrift/pull/1474
@jfarrell from what I can see these error codes are inside contributed code
in the fbthrift project, at least from the C++ side, in a file that contains
the Apache license:
https://github.com/facebook/fbthrift/blob/master/thrift/lib/cpp/transport/TTransportException.h
Making error codes generated as part of the build process would actually be
pretty cool; there would be some sort of top level directory to store common
thrift (perhaps lib/common/) and inside a Transport.thrift file (or something
like that) with an enumeration and a LOT of namespace directives... and the
build would generate the language-specific output it needs to build the
library. Sounds pretty cool.
---