CLI/c2json: Print 'cpp' error when executed in verbose mode (#12869)
Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
parent
147cf8afbb
commit
84883d3400
3 changed files with 20 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue