go.uber.org/yarpc@v1.72.1/encoding/thrift/internal.thrift (about) 1 enum ExceptionType { 2 UNKNOWN = 0 3 UNKNOWN_METHOD = 1 4 INVALID_MESSAGE_TYPE = 2 5 WRONG_METHOD_NAME = 3 6 BAD_SEQUENCE_ID = 4 7 MISSING_RESULT = 5 8 INTERNAL_ERROR = 6 9 PROTOCOL_ERROR = 7 10 INVALID_TRANSFORM = 8 11 INVALID_PROTOCOL = 9 12 UNSUPPORTED_CLIENT_TYPE = 10 13 } 14 15 /** 16 * TApplicationException is a Thrift-level exception. 17 * 18 * Thrift envelopes with the type Exception contain an exception of this 19 * shape. 20 */ 21 exception TApplicationException { 22 1: optional string message 23 2: optional ExceptionType type 24 }