Github user jeking3 commented on a diff in the pull request:
https://github.com/apache/thrift/pull/1335#discussion_r136895273
--- Diff: lib/go/thrift/application_exception.go ---
@@ -30,6 +30,17 @@ const (
PROTOCOL_ERROR = 7
)
+var defaultApplicationExceptionMessage = map[int32]string{
+ UNKNOWN_APPLICATION_EXCEPTION: "unknown application exception",
+ UNKNOWN_METHOD: "unknown method",
+ INVALID_MESSAGE_TYPE_EXCEPTION: "invalid message type",
+ WRONG_METHOD_NAME: "wrong method name",
+ BAD_SEQUENCE_ID: "bad sequnce ID",
--- End diff --
Typo in the string
---