MCPcopy Index your code
hub / github.com/RustPython/RustPython / ParseError

Class ParseError

Lib/xml/etree/ElementTree.py:107–116  ·  view source on GitHub ↗

An error when parsing an XML document. In addition to its exception value, a ParseError contains two extra attributes: 'code' - the specific exception code 'position' - the line and column of the error

Source from the content-addressed store, hash-verified

105
106
107class ParseError(SyntaxError):
108 """An error when parsing an XML document.
109
110 In addition to its exception value, a ParseError contains
111 two extra attributes:
112 'code' - the specific exception code
113 'position' - the line and column of the error
114
115 """
116 pass
117
118# --------------------------------------------------------------------
119

Callers 2

_raiseerrorMethod · 0.70

Calls

no outgoing calls

Tested by 1