The ErrorPrefixes element may contain one or more ErrorPrefix elements.

If an add-in function returns a string value which starts with any of the text strings specified in the ErrorPrefix elements, then an exception will be raised, using the remainder of the string value (after the prefix has been removed) as the error message.

If the ErrorPrefixes element contains zero ErrorPrefix elements, then no testing against string values will occur.

Child elements

Element Required Description
ErrorPrefix Required Each ErrorPrefix element should contain a text string, which will be matched against return values.

See Also