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
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
- XmlParseError.prepareStackTrace(err, stackTraces)
- Arguments
err (
Error()
) – NonestackTraces (
[CallSite]()
) – None
- Return type
any
- XmlParseError.stackTraceLimit
- Type
number
Methods
static captureStackTrace
- XmlParseError.captureStackTrace(targetObject[, constructorOpt])
- Arguments
targetObject (
object()
) – NoneconstructorOpt (
Function()
) – optional None
Create .stack property on a target object
- Return type
void