Skip to content

Commit bd7f658

Browse files
docs: fix check_pdf function docs
1 parent d094ac9 commit bd7f658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unstructured_client/_hooks/custom/pdf_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def check_pdf(pdf: PdfReader) -> PdfReader:
5252
- Has corrupted root object
5353
5454
Throws:
55-
- RequestError if file is encrypted or corrupted
55+
- PDFValidationError if file is encrypted or corrupted
5656
"""
5757
try:
5858
# This will raise if the file is encrypted

0 commit comments

Comments
 (0)