XMLDOMError
classin packageklyn.io.xml.dom
public class XMLDOMError extends Object implements DOMError:
└ XMLDOMError
All Implemented Interfaces: DOMError

DOM processing error value.

@example `klyn import klyn.io.xml.dom

error = XMLDOMError(DOMError.SEVERITY_ERROR, "Invalid node") print(error.message)

Attributes inherited from DOMError: SEVERITY_ERROR, SEVERITY_FATAL_ERROR, SEVERITY_WARNING
Properties
Modifier and Type Member Description
public readonly property location
location as DOMLocator:
No summary.
public readonly property message
message as String:
No summary.
public readonly property relatedData
relatedData as Object:
No summary.
public readonly property relatedException
relatedException as Object:
No summary.
public readonly property severity
severity as Int:
No summary.
public readonly property type
type as String:
No summary.
Properties inherited from Object: type
Properties inherited from DOMError: location, message, relatedData, relatedException, severity, type
Constructors
Modifier and Type Member Description
public XMLDOMError
XMLDOMError(severity as Int = DOMError.SEVERITY_ERROR, message as String = "", type as String = "", relatedException as Object = null, relatedData as Object = null, location as DOMLocator = null):
Creates an error value.
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml