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
Upload Files :
Command :
Current File : /usr/lib/python3.9/site-packages/pyudev/__pycache__//_errors.cpython-39.pyc
a
8g+^[ � @ s d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlZddlmZ eej �G dd � d e
��Zeej �G d
d� de��ZG dd
� d
e�Z
G dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� 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 @ s e Zd ZdZdS )�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 $ s r c @ s e Zd ZdZdS )�DeviceNotFoundErrorz�
An exception indicating that no :class:`Device` was found.
.. versionchanged:: 0.5
Rename from ``NoSuchDeviceError`` to its current name.
Nr r
r
r
r r + s r c @ s, e Zd ZdZdd� Zedd� �Zdd� ZdS ) �DeviceNotFoundAtPathErrorzh
A :exc:`DeviceNotFoundError` indicating that no :class:`Device` was
found at a given path.
c C s t �| |� d S �N�r �__init__)�self�sys_pathr
r
r r ; s z"DeviceNotFoundAtPathError.__init__c C s
| j d S )z<
The path that caused this error as string.
r ��args�r r
r
r r >