1
0
Fork 0

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

Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
Erovia 2021-05-27 17:42:38 +01:00 committed by GitHub
parent 147cf8afbb
commit 84883d3400
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 2 deletions

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