-
Notifications
You must be signed in to change notification settings - Fork 621
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve readability of protobuf decoding exception messages (#2768)
- Wrap definition of wire types with enum class ProtoWireType to show both name and id in message, - Catch and rethrow any ProtobufDecodingException in most decodeXXX functions, with proto number and type name in new exception message.
- Loading branch information
1 parent
b931598
commit 0b5145c
Showing
8 changed files
with
530 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.