Module Exceptions

Provides classes and predicates for tracking exceptions and information associated with exceptions.

Import path

semmle.python.security.Exceptions

Imports

Basic
TaintTracking

Python Taint Tracking Library

python

Classes

CallToTracebackFunction

Represents calls to functions in the traceback module that return sequences of exception information.

ExceptionInfo

This represents information relating to an exception, for instance the message, arguments or parts of the exception traceback.

ExceptionInfoSequence

Represents a sequence of pieces of information relating to an exception, for instance the contents of the args attribute, or the stack trace.

ExceptionKind

This kind represents exceptions themselves.

ExceptionSource

A source of exception objects, either explicitly created, or captured by an except statement.

FormattedTracebackSource

Represents calls to functions in the traceback module that return a single string of information about an exception.