class FFIError(Exception): __module__ = 'cffi' class CDefError(Exception): __module__ = 'cffi' def __str__(self): try: current_decl = self.args[1] filename = current_decl.coord.file linenum = current_decl.coord.line prefix = '%s:%d: ' % (filename, linenum) except (AttributeError, TypeError, IndexError): prefix = '' return '%s%s' % (prefix, self.args[0]) class VerificationError(Exception): """ An error raised when verification fails """ __module__ = 'cffi' class VerificationMissing(Exception): """ An error raised when incomplete structures are passed into cdef, but no verification has been done """ __module__ = 'cffi' class PkgConfigError(Exception): """ An error raised for missing modules in pkg-config """ __module__ = 'cffi'
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
__init__.py | File | 513 B | 0644 |
|
_cffi_errors.h | File | 3.77 KB | 0644 |
|
_cffi_include.h | File | 13.17 KB | 0644 |
|
_embedding.h | File | 17 KB | 0644 |
|
api.py | File | 41.08 KB | 0644 |
|
backend_ctypes.py | File | 41.46 KB | 0644 |
|
cffi_opcode.py | File | 5.59 KB | 0644 |
|
commontypes.py | File | 2.63 KB | 0644 |
|
cparser.py | File | 41.08 KB | 0644 |
|
error.py | File | 877 B | 0644 |
|
ffiplatform.py | File | 3.95 KB | 0644 |
|
lock.py | File | 747 B | 0644 |
|
model.py | File | 21.17 KB | 0644 |
|
parse_c_type.h | File | 5.84 KB | 0644 |
|
pkgconfig.py | File | 4.27 KB | 0644 |
|
recompiler.py | File | 61.74 KB | 0644 |
|
setuptools_ext.py | File | 8.64 KB | 0644 |
|
vengine_cpy.py | File | 42.3 KB | 0644 |
|
vengine_gen.py | File | 26.05 KB | 0644 |
|
verifier.py | File | 10.94 KB | 0644 |
|