bibpy.error module

bibpy errors.

exception bibpy.error.LexerException[source]

Bases: Exception

Raised on a lexer error.

exception bibpy.error.ParseException[source]

Bases: Exception

Raised on errors in parsing.

exception bibpy.error.RequiredFieldError(entry, required, optional)[source]

Bases: Exception

Raised when an entry does not conform to a format’s requirements.

entry

The offending entry.

optional

Missing fields where one of several fields are required.

required

Missing required fields.