If errors exist, returns a dictionary with the errors as keys and the content of the errors as values. Otherwise, returns an empty list.
See also: GetErrorsXML()
Supported Keyword Arguments
None
Return Type
List
Examples
Example 29: List returned when validation errors exist
GetErrors() [{'type': 'Physics', 'subtype': 'GlobalCheck', 'entity': '/SystemCoupling/OutputControl', 'property': None, 'category': 'OutputControlModel@warnIfOutputOnlyAtLastStep', 'text': "Restart output is only requested at last step. To enable restarts from intermediate points, use another 'OutputControl' option.", 'level': 'Warning'}]