CLI/c2json: Print 'cpp' error when executed in verbose mode (#12869)

Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
EroviaandRyan authored and GitHub committed 2021-05-27 17:42:38 +01:00
1 parent 147cf8afbb
commit 84883d3400
3 files changed
+20 -2

No files matched your search

+7
View File
@@ -3,3 +3,10 @@ class NoSuchKeyboardError(Exception):
"""
def __init__(self, message):
self.message = message
class CppError(Exception):
"""Raised when 'cpp' cannot process a file.
"""
def __init__(self, message):
self.message = message