https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sphinx/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sphinx/__pycache__/errors.cpython-310.pyc
o

�$�a�@s�dZddlmZGdd�de�ZGdd�de�ZGdd�de�ZGd	d
�d
e�ZGdd�de�ZGd
d�de�Z	Gdd�de�Z
Gdd�de�ZGdd�de�ZGdd�de�Z
Gdd�de�ZGdd�de�ZGdd�de�ZdS)a
    sphinx.errors
    ~~~~~~~~~~~~~

    Contains SphinxError and a few subclasses (in an extra module to avoid
    circular import problems).

    :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�)�Anyc@�eZdZdZdZdS)�SphinxErrora�Base class for Sphinx errors.

    This is the base class for "nice" exceptions.  When such an exception is
    raised, Sphinx will abort the build and present the exception category and
    message to the user.

    Extensions are encouraged to derive from this exception for their custom
    errors.

    Exceptions *not* derived from :exc:`SphinxError` are treated as unexpected
    and shown to the user with a part of the traceback (and the full traceback
    saved in a temporary file).

    .. attribute:: category

       Description of the exception "category", used in converting the
       exception to a string ("category: message").  Should be set accordingly
       in subclasses.
    zSphinx errorN��__name__�
__module__�__qualname__�__doc__�category�rr�//usr/lib/python3/dist-packages/sphinx/errors.pyrsrc@r)�
SphinxWarningzWarning, treated as error.zWarning, treated as errorNrrrrrr
&�r
c@r)�ApplicationErrorz!Application initialization error.zApplication errorNrrrrrr+rrc	sfeZdZdZddedededdf�fdd�
Zedefd	d
��Zdefdd�Z	def�fd
d�Z
�ZS)�ExtensionErrorzExtension error.N�message�orig_exc�modname�returncs"t��|�||_||_||_dS�N)�super�__init__rrr)�selfrrr��	__class__rrr3s
zExtensionError.__init__cCs|jrd|jSdS)NzExtension error (%s)zExtension error)r�rrrrr
9s
zExtensionError.categorycCs.|jrd|jj|j|jfSd|jj|jfS)Nz
%s(%r, %r)z%s(%r))rrrrrrrr�__repr__@s
�zExtensionError.__repr__cs"t���}|jrd||jfS|S)Nz%s (exception: %s))r�__str__r)r�
parent_strrrrrFs
zExtensionError.__str__)NN)rrrr	�str�	Exceptionr�propertyr
rr�
__classcell__rrrrr0s rc@r)�BuildEnvironmentErrorzBuildEnvironment error.zBuildEnvironment errorNrrrrrr#Mrr#c@r)�ConfigErrorzConfiguration error.zConfiguration errorNrrrrrr$Rrr$c@r)�
DocumentErrorzDocument error.zDocument errorNrrrrrr%Wrr%c@r)�
ThemeErrorzTheme error.zTheme errorNrrrrrr&\rr&c@r)�VersionRequirementErrorz"Incompatible Sphinx version error.zSphinx version errorNrrrrrr'arr'c@s8eZdZdZdZdededdfdd�Zdefd	d
�ZdS)�SphinxParallelErrorzSphinx parallel build error.zSphinx parallel build errorr�	tracebackrNcCs||_||_dSr)rr))rrr)rrrrks
zSphinxParallelError.__init__cCs|jSr)rrrrrroszSphinxParallelError.__str__)	rrrr	r
rrrrrrrrr(fs
r(c@seZdZdZdefdd�ZdS)�PycodeErrorz)Pycode Python source code analyser error.rcCs.|jd}t|j�dkr|d|jd7}|S)Nr�z (exception was: %r))�args�len)r�resrrrrvs
zPycodeError.__str__N)rrrr	rrrrrrr*ssr*c@�eZdZdZdS)�NoUriziRaised by builder.get_relative_uri() or from missing-reference handlers
    if there is no URI available.N�rrrr	rrrrr0}sr0c@r/)�FiletypeNotFoundErrorz@Raised by get_filetype() if a filename matches no source suffix.Nr1rrrrr2�sr2N)r	�typingrr rr
rrr#r$r%r&r'r(r*r0r2rrrr�<module>s



https://t.me/RX1948 - 2025