PDFTranslate / pdf2zh /pdfexceptions.py
sanbo
update sth. at 2024-11-26 16:15:47
9b0f4a0
raw
history blame contribute delete
488 Bytes
from pdf2zh.psexceptions import PSException
class PDFException(PSException):
pass
class PDFTypeError(PDFException, TypeError):
pass
class PDFValueError(PDFException, ValueError):
pass
class PDFObjectNotFound(PDFException):
pass
class PDFNotImplementedError(PDFException, NotImplementedError):
pass
class PDFKeyError(PDFException, KeyError):
pass
class PDFEOFError(PDFException, EOFError):
pass
class PDFIOError(PDFException, IOError):
pass