Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: pex_exceptions
-
Labels:None
-
Story Points:1
-
Sprint:Arch 2019-04-01
-
Team:Architecture
Description
In working on DM-9873 I was getting confusing test failures because sometimes a pex_exceptions C++ TypeError was turning up in Python as a RuntimeError. It transpires that DM-9435 changed the C++ side such that TypeError inherits from LogicError but did not change the Python interface wrapper. This ticket will change the Python side to inherit from LogicError rather than RuntimeError.
Attachments
Issue Links
- relates to
-
DM-9435 Document uses of pex::exceptions
- Done
Kian-Tat Lim one line fix plus a one line change to a test. I also took the opportunity to update the docstrings in the include file to refer to python3 versions of exceptions.