bib.bibtexparser.exceptions¶
Classes¶
BlockAbortedException ¶
Bases: ParsingException
Exception where a invalid bibtex file led to an aborted block.
Source code in pybibtexer/bib/bibtexparser/exceptions.py
ParserStateException ¶
Bases: ParsingException
Parser is in a self-inflicted invalid state.
Source code in pybibtexer/bib/bibtexparser/exceptions.py
ParsingException ¶
Bases: Exception
Generic Exception for parsing errors.
PartialMiddlewareException ¶
Bases: ParsingException
Exception raised when a middleware could not be fully applied.
Source code in pybibtexer/bib/bibtexparser/exceptions.py
RegexMismatchException ¶
Bases: ParserStateException
Raised when regex matches are inconsistent, implying a bug in the parser.
For example, raised when first match @string{ is not followed by an overlapping match }.