| Server IP : 93.86.61.54 / Your IP : 216.73.216.206 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/xdg/__pycache__/ |
Upload File : |
o
�)X� � @ s� d Z dZG dd� de�ZG dd� de�ZG dd� de�ZG dd � d e�ZG d
d� de�ZG dd
� d
e�ZG dd� de�Z G dd� de�Z
dS )z'
Exception Classes for the xdg package
Fc @ s e Zd ZdZdd� Zdd� ZdS )�Errorz'Base class for exceptions defined here.c C s || _ t�| |� d S �N)�msg� Exception�__init__)�selfr � r �0/usr/lib/python3/dist-packages/xdg/Exceptions.pyr s zError.__init__c C s | j S r )r )r r r r �__str__ s z
Error.__str__N)�__name__�
__module__�__qualname__�__doc__r r r r r r r s r c @ � e Zd ZdZdd� ZdS )�ValidationErrorzXRaised when a file fails to validate.
The filename is the .file attribute.
c C �$ || _ || _t�| d||f � d S )Nz!ValidationError in file '%s': %s �r �filer r �r r r r r r r � zValidationError.__init__N�r
r r r
r r r r r r � r c @ r )�ParsingErrorzWRaised when a file cannot be parsed.
The filename is the .file attribute.
c C r )NzParsingError in file '%s', %sr r r r r r r zParsingError.__init__Nr r r r r r r r c @ r )�
NoKeyErrorzyRaised when trying to access a nonexistant key in an INI-style file.
Attributes are .key, .group and .file.
c C �, t �| d|||f � || _|| _|| _d S )Nz"No key '%s' in group %s of file %s�r r �key�groupr �r r r r r r r r ( �
zNoKeyError.__init__Nr r r r r r # r r c @ r )�DuplicateKeyErrorzpRaised when the same key occurs twice in an INI-style file.
Attributes are .key, .group and .file.
c C r )Nz)Duplicate key '%s' in group %s of file %sr r r r r r 3 r zDuplicateKeyError.__init__Nr r r r r r . r r c @ r )�NoGroupErrorzuRaised when trying to access a nonexistant group in an INI-style file.
Attributes are .group and .file.
c C �$ t �| d||f � || _|| _d S )NzNo group: %s in file %s�r r r r �r r r r r r r >