diff options
author | Joseph Brill <48932340+jcbrill@users.noreply.github.com> | 2022-07-07 17:41:07 (GMT) |
---|---|---|
committer | Joseph Brill <48932340+jcbrill@users.noreply.github.com> | 2022-07-07 17:41:07 (GMT) |
commit | 88c534e242abcb17c721ceffd976397cf8d4c097 (patch) | |
tree | dd8df88e5cbb83aecb21b65d44e793ba8db9085a /SCons/Tool/MSCommon/MSVC/Exceptions.py | |
parent | e8faf157450ec575d743108624645bb8207c4a00 (diff) | |
download | SCons-88c534e242abcb17c721ceffd976397cf8d4c097.zip SCons-88c534e242abcb17c721ceffd976397cf8d4c097.tar.gz SCons-88c534e242abcb17c721ceffd976397cf8d4c097.tar.bz2 |
Minor update to msvc exceptions and rework new unit tests.
Diffstat (limited to 'SCons/Tool/MSCommon/MSVC/Exceptions.py')
-rw-r--r-- | SCons/Tool/MSCommon/MSVC/Exceptions.py | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/SCons/Tool/MSCommon/MSVC/Exceptions.py b/SCons/Tool/MSCommon/MSVC/Exceptions.py index a12b3c6..7b24a2b 100644 --- a/SCons/Tool/MSCommon/MSVC/Exceptions.py +++ b/SCons/Tool/MSCommon/MSVC/Exceptions.py @@ -25,27 +25,32 @@ Exceptions for Microsoft Visual C/C++. """ +# reminder: add exceptions to MSCommon if necessary + class VisualCException(Exception): pass class MSVCInternalError(VisualCException): pass +class MSVCUserError(VisualCException): + pass + class MSVCScriptExecutionError(VisualCException): pass -class MSVCVersionNotFound(VisualCException): +class MSVCVersionNotFound(MSVCUserError): pass -class MSVCSDKVersionNotFound(VisualCException): +class MSVCSDKVersionNotFound(MSVCUserError): pass -class MSVCToolsetVersionNotFound(VisualCException): +class MSVCToolsetVersionNotFound(MSVCUserError): pass -class MSVCSpectreLibsNotFound(VisualCException): +class MSVCSpectreLibsNotFound(MSVCUserError): pass -class MSVCArgumentError(VisualCException): +class MSVCArgumentError(MSVCUserError): pass |