Hacked By AnonymousFox

Current Path : /lib64/python3.6/site-packages/cffi/
Upload File :
Current File : //lib64/python3.6/site-packages/cffi/error.py

class FFIError(Exception):
    pass

class CDefError(Exception):
    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
    """

class VerificationMissing(Exception):
    """ An error raised when incomplete structures are passed into
    cdef, but no verification has been done
    """

Hacked By AnonymousFox1.0, Coded By AnonymousFox