| Server IP : 66.29.146.62 / Your IP : 216.73.216.152 Web Server : LiteSpeed System : Linux premium231.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64 User : dokkdzvi ( 925) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3.6/site-packages/pyudev/device/__pycache__/ |
Upload File : |
3
5�Vl � @ 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 �/usr/lib/python3.6/_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.
N)r r r
r 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 j| |� 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 >