polyspace.ErrorWithLog Class
Namespace: polyspace
Description
This Python® exception class contains error information from actions on a polyspace.project.Project object. The project-related actions that can throw an exception of this type are:
Source code parsing with
polyspace.project.parseCode. For more information, seepolyspace.project.CodeInfo.Project build with
polyspace.test.build. For more information, seepolyspace.test.build.Test execution with
polyspace.test.run. For more information, seepolyspace.test.run.
Creation
Syntax
try:statementsexcept polyspace.ErrorWithLog aserrWithLog:statementsend
Description
The above syntax executes the
in the statementstry block and catches resulting errors from Polyspace® project related actions in the except block in a
polyspace.ErrorWithLog object
.errWithLog
Properties
Version History
Introduced in R2026a