GRAYBYTE WORDPRESS FILE MANAGER6638

Server IP : 149.255.58.128 / Your IP : 216.73.216.213
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/lib/python3.9/site-packages/pyudev/__pycache__/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/lib/python3.9/site-packages/pyudev/__pycache__//_errors.cpython-39.pyc
a

8g+^[�@sdZddlmZddlmZddlmZddlmZddlZddlmZeej	�Gdd	�d	e
��Zeej	�Gd
d�de��ZGdd
�d
e�Z
Gdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZdS)z�
    pyudev.device._errors
    =====================

    Errors raised by Device methods.

    .. moduleauthor:: Sebastian Wiesner <lunaryorn@gmail.com>
�)�absolute_import)�division)�print_function)�unicode_literalsN)�
add_metaclassc@seZdZdZdS)�DeviceErrorzP
    Any error raised when messing around w/ or trying to discover devices.
    N��__name__�
__module__�__qualname__�__doc__�r
r
�2/usr/lib/python3.9/site-packages/pyudev/_errors.pyr$src@seZdZdZdS)�DeviceNotFoundErrorz�
    An exception indicating that no :class:`Device` was found.

    .. versionchanged:: 0.5
       Rename from ``NoSuchDeviceError`` to its current name.
    Nrr
r
r
rr+src@s,eZdZdZdd�Zedd��Zdd�ZdS)	�DeviceNotFoundAtPathErrorzh
    A :exc:`DeviceNotFoundError` indicating that no :class:`Device` was
    found at a given path.
    cCst�||�dS�N�r�__init__)�self�sys_pathr
r
rr;sz"DeviceNotFoundAtPathError.__init__cCs
|jdS)z<
        The path that caused this error as string.
        r��args�rr
r
rr>sz"DeviceNotFoundAtPathError.sys_pathcCsd�|j�S)NzNo device at {0!r})�formatrrr
r
r�__str__Esz!DeviceNotFoundAtPathError.__str__N)r	r
rrr�propertyrrr
r
r
rr5s

rc@seZdZdZdS)�DeviceNotFoundByFileErrorzp
    A :exc:`DeviceNotFoundError` indicating that no :class:`Device` was
    found from the given filename.
    Nrr
r
r
rrIsrc@seZdZdZdS)�#DeviceNotFoundByInterfaceIndexErrorzw
    A :exc:`DeviceNotFoundError` indicating that no :class:`Device` was found
    from the given interface index.
    Nrr
r
r
rrPsrc@seZdZdZdS)�!DeviceNotFoundByKernelDeviceErrorz�
    A :exc:`DeviceNotFoundError` indicating that no :class:`Device` was found
    from the given kernel device string.

    The format of the kernel device string is defined in the
    systemd.journal-fields man pages.
    Nrr
r
r
rrWsrc@s8eZdZdZdd�Zedd��Zedd��Zdd	�Zd
S)�DeviceNotFoundByNameErrorzj
    A :exc:`DeviceNotFoundError` indicating that no :class:`Device` was
    found with a given name.
    cCst�|||�dSrr)r�	subsystem�sys_namer
r
rrgsz"DeviceNotFoundByNameError.__init__cCs
|jdS)zA
        The subsystem that caused this error as string.
        rrrr
r
rr jsz#DeviceNotFoundByNameError.subsystemcCs
|jdS)z@
        The sys name that caused this error as string.
        �rrr
r
rr!qsz"DeviceNotFoundByNameError.sys_namecCs
d�|�S)Nz+No device {0.sys_name!r} in {0.subsystem!r}�rrr
r
rrxsz!DeviceNotFoundByNameError.__str__N)	r	r
rrrrr r!rr
r
r
rras

rc@s8eZdZdZdd�Zedd��Zedd��Zdd	�Zd
S)�DeviceNotFoundByNumberErrorzs
    A :exc:`DeviceNotFoundError` indicating, that no :class:`Device` was found
    for a given device number.
    cCst�|||�dSrr)r�typZnumberr
r
rr�sz$DeviceNotFoundByNumberError.__init__cCs
|jdS)zj
        The device type causing this error as string.  Either ``'char'`` or
        ``'block'``.
        rrrr
r
r�device_type�sz'DeviceNotFoundByNumberError.device_typecCs
|jdS)zB
        The device number causing this error as integer.
        r"rrr
r
r�
device_number�sz)DeviceNotFoundByNumberError.device_numbercCs
d�|�S)Nz7No {0.device_type} device with number {0.device_number}r#rr
r
rr�s�z#DeviceNotFoundByNumberError.__str__N)	r	r
rrrrr&r'rr
r
r
rr$|s

r$c@seZdZdZdd�ZdS)� DeviceNotFoundInEnvironmentErrorz�
    A :exc:`DeviceNotFoundError` indicating, that no :class:`Device` could
    be constructed from the process environment.
    cCsdS)NzNo device found in environmentr
rr
r
rr�sz(DeviceNotFoundInEnvironmentError.__str__N)r	r
rrrr
r
r
rr(�sr(c@s&eZdZdZdZddd�Zdd�ZdS)	�DeviceValueErrorz�
    Raised when a parameter has an unacceptable value.

    May also be raised when the parameter has an unacceptable type.
    z+value '%s' for parameter %s is unacceptableNcCs||_||_||_dS)z� Initializer.

            :param object value: the value
            :param str param: the parameter
            :param str msg: an explanatory message
        N)�_value�_param�_msg)r�valueZparam�msgr
r
rr�szDeviceValueError.__init__cCs6|jr$|jd}||j|j|jfS|j|j|jfS)Nz: %s)r,�_FMT_STRr*r+)rZfmt_strr
r
rr�s
zDeviceValueError.__str__)N)r	r
rrr/rrr
r
r
rr)�s
r))rZ
__future__rrrr�abcZsixr�ABCMeta�	Exceptionrrrrrrrr$r(r)r
r
r
r�<module>s$		


[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
October 13 2023 17:01:35
0 / root
0755
__init__.cpython-39.opt-1.pyc
1.796 KB
February 11 2022 00:14:50
0 / root
0644
__init__.cpython-39.pyc
1.796 KB
February 11 2022 00:14:50
0 / root
0644
_compat.cpython-39.opt-1.pyc
0.843 KB
February 11 2022 00:14:50
0 / root
0644
_compat.cpython-39.pyc
0.843 KB
February 11 2022 00:14:50
0 / root
0644
_errors.cpython-39.opt-1.pyc
6.27 KB
February 11 2022 00:14:50
0 / root
0644
_errors.cpython-39.pyc
6.27 KB
February 11 2022 00:14:50
0 / root
0644
_qt_base.cpython-39.opt-1.pyc
6.242 KB
February 11 2022 00:14:50
0 / root
0644
_qt_base.cpython-39.pyc
6.242 KB
February 11 2022 00:14:50
0 / root
0644
_util.cpython-39.opt-1.pyc
5.864 KB
February 11 2022 00:14:50
0 / root
0644
_util.cpython-39.pyc
5.864 KB
February 11 2022 00:14:50
0 / root
0644
core.cpython-39.opt-1.pyc
12.739 KB
February 11 2022 00:14:50
0 / root
0644
core.cpython-39.pyc
12.739 KB
February 11 2022 00:14:50
0 / root
0644
discover.cpython-39.opt-1.pyc
13.06 KB
February 11 2022 00:14:50
0 / root
0644
discover.cpython-39.pyc
13.06 KB
February 11 2022 00:14:50
0 / root
0644
monitor.cpython-39.opt-1.pyc
19.365 KB
February 11 2022 00:14:50
0 / root
0644
monitor.cpython-39.pyc
19.365 KB
February 11 2022 00:14:50
0 / root
0644
version.cpython-39.opt-1.pyc
0.612 KB
February 11 2022 00:14:50
0 / root
0644
version.cpython-39.pyc
0.612 KB
February 11 2022 00:14:50
0 / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF