class ParseError(Exception):
Known subclasses: pydoctor.epydoc.markup.epytext.ColorizingError
, pydoctor.epydoc.markup.epytext.StructuringError
, pydoctor.epydoc.markup.epytext.TokenizationError
Method | __init__ |
No summary |
Method | __repr__ |
Return the formal representation of this ParseError. ParseErrors have formal representations of the form:: <ParseError on line 12> |
Method | __str__ |
Return a string representation of this ParseError. This multi-line string contains a description of the error, and specifies where it occured. |
Method | descr |
|
Method | is_fatal |
|
Method | linenum |
|
Instance Variable | _descr |
Undocumented |
Instance Variable | _fatal |
Undocumented |
Instance Variable | _linenum |
Undocumented |
pydoctor.epydoc.markup.epytext.ColorizingError
Parameters | |
descr:str | A description of the error. |
linenum:Optional[ | The line on which the error occured within the docstring. The linenum of the first line is 0. |
is_fatal:bool | True if this is a fatal error. |
Return the formal representation of this ParseError. ParseErrors have formal representations of the form:
<ParseError on line 12>
Returns | |
str | the formal representation of this ParseError. |
Returns | |
str | the informal representation of this ParseError. |
pydoctor.epydoc.markup.epytext.ColorizingError
Returns | |
str | A description of the error. |
Returns | |
bool | true if this is a fatal error. If an error is fatal, then epydoc should ignore the output of the parser, and parse the docstring as plaintext. |