Error Handling – XML Source (Magic xpa 3.x)
You can define handlers for errors during the opening and closing of XML data sources.
Error type: ‘Any’ and ‘Unmapped errors’
Directive used during runtime: 'Abort task'
Error literals (from the ErrMagicName function):
-
'Table open failed’ERR – will occur when the XML cannot be opened, including parser exceptions.
-
‘Table close failed’ERR – will occur when the XML cannot be written.
XML Error Codes