-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
labm8/cpp: Add a Status.RaiseException() method.
This converts the error code into my best guess at the most appropriate C++ exception class, and raises it. If status.ok(), no error is raised. Signed-off-by: format 2020.01.16 <github.com/ChrisCummins/format>
- Loading branch information
1 parent
8c822a3
commit 99c1e71
Showing
2 changed files
with
31 additions
and
5 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