The `addError` function is a method within the Python WMCore.FwkJobReport.Report.Report module. It is used to add an error to a job report. The function allows users to provide a description of the error and additional information related to the error. This information is then appended to the job report, providing a detailed record of any errors encountered during the execution of a job. This function is helpful for debugging and troubleshooting purposes, as it allows users to easily track and analyze errors within their job reports.
Python Report.addError - 43 examples found. These are the top rated real world Python examples of WMCore.FwkJobReport.Report.Report.addError extracted from open source projects. You can rate examples to help us improve the quality of examples.