Skip to content

Commit

Permalink
MAINT: Make ParseError inherit from PyPdfError (#2097)
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisfreitag authored Aug 18, 2023
1 parent d224430 commit cc66b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypdf/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class PdfStreamError(PdfReadError):
"""Raised when there is an issue reading the stream of data in a PDF file."""


class ParseError(Exception):
class ParseError(PyPdfError):
"""
Raised when there is an issue parsing (analyzing and understanding the
structure and meaning of) a PDF file.
Expand Down

0 comments on commit cc66b2d

Please sign in to comment.