This method creates an error XML fragment. The fragment is not a complete document as it lacks the XML header, but rather is meant as a fragment that can be embedded into a full XML document.

XML Format:

   <errormessage>Couldn't open file</errormessage>
o.CreateErrorXML(lcErrorMsg, lnError, lnIndent)

Return Value

XML string of the error. Note this is not a complete XML document, but only the <error></error> fragment.


The error message to return in the ErrorMessage element.

Optional - An error number describing the error.

The indent at which the XML fragment is created. Default is 1.

See also:

Class wwXML (Low Level Methods)

© West Wind Technologies, 2023 • Updated: 09/01/99
Comment or report problem with topic