wwXML::CreateErrorXML
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:
Couldn't open file -1
o.CreateErrorXML(lcErrorMsg, lnError, lnIndent)
XML string of the error. Note this is not a complete XML document, but only the
Parameters
lcErrorMsg
The error message to return in the ErrorMessage element.
lnError
Optional - An error number describing the error.
lnIndent
The indent at which the XML fragment is created. Default is 1.
See also
Class wwXML (Low Level Methods)© West Wind Technologies, 2025 • Updated: 2025-03-12
Comment or report problem with topic