CodeQL library for Python
codeql/python-all 0.9.2 ( changelog , source )
Search

Predicate SsaSource :: exception_capture

Holds if v is defined by assignment of the captured exception.

Import path

import python
predicate exception_capture ( Variable v , NameNode defn )