diff options
author | Armin Rigo <arigo@tunes.org> | 2019-01-31 12:14:50 +0100 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2019-01-31 12:14:50 +0100 |
commit | acfd2aef58cd40f4ee06bcc551b8549bb16974e8 (patch) | |
tree | 6114742a3b3647f3a6d1a938c2a067038c38fbcc /cffi/error.py | |
parent | 93925db3b1736fcdc8026a96346ba065c070daa4 (diff) | |
download | cffi-acfd2aef58cd40f4ee06bcc551b8549bb16974e8.tar.gz |
Tweaks to the pkgconfig support
Diffstat (limited to 'cffi/error.py')
-rw-r--r-- | cffi/error.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/cffi/error.py b/cffi/error.py index e360089..0a27247 100644 --- a/cffi/error.py +++ b/cffi/error.py @@ -1,8 +1,9 @@ class FFIError(Exception): - pass + __module__ = 'cffi' class CDefError(Exception): + __module__ = 'cffi' def __str__(self): try: current_decl = self.args[1] @@ -16,15 +17,15 @@ class CDefError(Exception): 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 all pkg-config related errors - except version mismatch""" - -class PkgConfigModuleVersionNotFound(Exception): - """ An error raised when requested version was not found""" + """ An error raised for missing modules in pkg-config + """ + __module__ = 'cffi' |