U ل=^m � @ sT G d d� de �ZG dd� de �ZG dd� de �ZG dd� de �ZG dd � d e �Zd S )c @ s e Zd ZdZdS )�FFIError�cffiN)�__name__� __module__�__qualname__� r r � /error.pyr s r c @ s e Zd ZdZdd� ZdS )� CDefErrorr c C s\ z*| j d }|jj}|jj}d||f }W n tttfk rH d}Y nX d|| j d f S )N� z%s:%d: � z%s%s� )�argsZcoord�file�line�AttributeError� TypeError� IndexError)�selfZcurrent_decl�filenameZlinenum�prefixr r r �__str__ s zCDefError.__str__N)r r r r r r r r r s r c @ s e Zd ZdZdZdS )�VerificationErrorz- An error raised when verification fails r N�r r r �__doc__r r r r r s r c @ s e Zd ZdZdZdS )�VerificationMissingzl An error raised when incomplete structures are passed into cdef, but no verification has been done r Nr r r r r r s r c @ s e Zd ZdZdZdS )�PkgConfigErrorz7 An error raised for missing modules in pkg-config r Nr r r r r r s r N)� Exceptionr r r r r r r r r �<module> s