forked from facebook/hhvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Error() method for exception types
Summary: Implement a type alias workaround to be able to `fmt.Sprintf` a Thrift exception type without causing infinite recursion. Reviewed By: leoleovich Differential Revision: D45934359 fbshipit-source-id: 536b95ac4359b0bee500b78ffc2ee2725352586c
- Loading branch information
1 parent
57df0a2
commit ebf3143
Showing
6 changed files
with
40 additions
and
12 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
4 changes: 3 additions & 1 deletion
4
...y/thrift/src/thrift/compiler/test/fixtures/basic-annotations/gen-go_mstch/module/types.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 3 additions & 1 deletion
4
third-party/thrift/src/thrift/compiler/test/fixtures/doctext/gen-go_mstch/module/types.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
28 changes: 21 additions & 7 deletions
28
third-party/thrift/src/thrift/compiler/test/fixtures/exceptions/gen-go_mstch/module/types.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 3 additions & 1 deletion
4
...-party/thrift/src/thrift/compiler/test/fixtures/interactions/gen-go_mstch/module/types.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 3 additions & 1 deletion
4
...ty/thrift/src/thrift/compiler/test/fixtures/terse_write/gen-go_mstch/terse_write/types.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.