XmlParseError
-
class
XmlParseError
() Error object that is thrown when attempting to parse XML data. This can be thrown in the case of an actual parsing error or a malformed XML file. The error object itself will provide a detailed description of the error.
Constructors
Properties
Methods
Constructors
-
XmlParseError.
constructor
(message) Arguments: - message (
string()
) – None
Creates a new XmlParseError
Return type: XmlParseError - message (
Properties
-
XmlParseError.
message
Type: string
-
XmlParseError.
name
Type: string
-
XmlParseError.
stack
Type: string optional
-
XmlParseError.
prepareStackTrace
Type: function optional Optional override for formatting stack traces
See: https://v8.dev/docs/stack-trace-api#customizing-stack-traces -
XmlParseError.
prepareStackTrace
(err, stackTraces) Arguments: - err (
Error()
) – None - stackTraces (
[CallSite]()
) – None
Return type: any
- err (
-
-
XmlParseError.
stackTraceLimit
Type: number