epublib.exceptions module¶
- exception EPUBWarning¶
Bases:
WarningBase warning for EPUBLib.
- exception EPUBError¶
Bases:
ExceptionBase error for EPUBLib.
- warn(
- warning: str,
- cls: type[~epublib.exceptions.EPUBWarning] = <class 'epublib.exceptions.EPUBWarning'>,
Utility function to issue an EPUBLib warning.
- Parameters:
warning – The warning message.
cls – The warning class to use. Defaults to EPUBWarning.