This enum contains the possible error levels that can be passed to the pdg.AttributeOwnerm.addAttrib API function.
Values ¶
pdg.attribErrorLevel.Error
Errors are converted to Python exceptions. This is the default behavior.
pdg.attribErrorLevel.Quiet
No exceptions or warnings are reported. A value of None
is returned when a failure occurs.
pdg.attribErrorLevel.Warn
Errors are displayed as warnings on the node that owns the work item, but will not cause an exception in Python code. A value of None
is also returned when a failure occurs.