+
    5i6                     t     ! R  R] 4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R	]4      tR
# )c                       ] tR t^tRtR# )FPDFException N)__name__
__module____qualname____firstlineno____static_attributes__r       Q/Users/agent/.openclaw/workspace/venv/lib/python3.14/site-packages/fpdf/errors.pyr   r      s    r
   r   c                   j   a a ] tR t^t oRtR	V3R lV 3R llltV3R lR ltV3R lR ltRtVt	V ;t
# )
FPDFPageFormatExceptionz/Error is thrown when a bad page format is givenc                0   < V ^8  d   QhRS[ RS[RS[RR/# )   argumentunknownonereturnN)strbool)format__classdict__s   "r   __annotate__$FPDFPageFormatException.__annotate__   s*     	 	 	t 	$ 	SW 	r
   c                ~   < \         SV `  4        V'       d   V'       d   \        R 4      hWn        W n        W0n        R# )z\FPDF Page Format Exception cannot be both for unknown type and for wrong number of argumentsN)super__init__	TypeErrorr   r   r   )selfr   r   r   	__class__s   &&&&r   r    FPDFPageFormatException.__init__   s7    sA  !r
   c                    < V ^8  d   QhRS[ /# r   r   r   )r   r   s   "r   r   r      s     
 
# 
r
   c                    V P                   P                   R V P                  : RV P                  : RV P                  : R2# )(z, ))r   r   r   r   r   r   s   &r   __repr__ FPDFPageFormatException.__repr__   s@    ~~&&' 4<<"2"TXXLC	
r
   c                    < V ^8  d   QhRS[ /# r"   r#   )r   r   s   "r   r   r      s     4 4 4r
   c                    V P                   '       d   R V P                   2pM/V P                  '       d   RV P                   R2pMV P                  pV P                  P                   RV 2# )zUnknown page format: zOnly one argument given: z. Need (height,width)z: )r   r   r   r   r   )r   ress   & r   __str__FPDFPageFormatException.__str__   s\    <<<)$--9CXXX-dmm_<QRC--C..))+2cU33r
   )r   r   r   )FFr   r   r   r   __doc__r   r(   r-   r	   __classdictcell____classcell__r   r   s   @@r   r   r      s+     9	 	
 
4 4 4r
   r   c                   f   a a ] tR t^#t oRtV3R lV 3R lltV3R lR ltV3R lR ltRtVt	V ;t
# )	FPDFUnicodeEncodingExceptionzYError is thrown when a character that cannot be encoded by the chosen encoder is providedc                0   < V ^8  d   QhRS[ RS[RS[RR/# )r   
text_index	character	font_namer   N)intr   )r   r   s   "r   r   )FPDFUnicodeEncodingException.__annotate__&   s)     # #3 #3 #3 #4 #r
   c                H   < \         SV `  4        Wn        W n        W0n        R # )N)r   r   r7   r8   r9   )r   r7   r8   r9   r   s   &&&&r   r   %FPDFUnicodeEncodingException.__init__&   s    $""r
   c                    < V ^8  d   QhRS[ /# r"   r#   )r   r   s   "r   r   r;   ,   s     q q# qr
   c                    V P                   P                   R \        V P                  4      \        V P                  4      \        V P
                  4      3 R2# )r%   r&   )r   r   reprr7   r8   r9   r'   s   &r   r(   %FPDFUnicodeEncodingException.__repr__,   sH    ..))*!D,A4CWY]^b^l^lYm,m+nnoppr
   c                    < V ^8  d   QhRS[ /# r"   r#   )r   r   s   "r   r   r;   /   s     
 
 
r
   c                V    R V P                    RV P                   RV P                   R2# )zCharacter "z" at index zI in text is outside the range of characters supported by the font used: "z(". Please consider using a Unicode font.)r8   r7   r9   r'   s   &r   r-   $FPDFUnicodeEncodingException.__str__/   s8    $..)T__4E F--1^^,< =55	
r
   )r8   r9   r7   r/   r3   s   @@r   r5   r5   #   s-     c# #q q
 
 
r
   r5   c                       ] tR t^7tRtRtR# )ComplianceErrorzDBase class for standards-compliance violations (PDF/A, PDF/X, etc.).r   Nr   r   r   r   r0   r	   r   r
   r   rF   rF   7   s    Nr
   rF   c                       ] tR t^;tRtRtR# )PDFAComplianceErrorzVRaised when an operation would produce a PDF that violates the selected PDF/A profile.r   NrG   r   r
   r   rI   rI   ;   s    `r
   rI   N)	Exceptionr   r   r5   rF   rI   r   r
   r   <module>rK      sE   	I 	4m 4<
= 
(Om Oa/ ar
   