/usr/share/pyshared/gnutls/errors.py is in python-gnutls 1.2.0-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # Copyright (C) 2007 AG Projects. See LICENSE for details.
#
"""GNUTLS errors"""
__all__ = ['Error', 'GNUTLSError', 'OperationWouldBlock', 'OperationInterrupted',
'CertificateError', 'CertificateAuthorityError', 'CertificateSecurityError',
'CertificateExpiredError', 'CertificateRevokedError', 'RequestedDataNotAvailable']
class Error(Exception): pass
class GNUTLSError(Error): pass
class OperationWouldBlock(GNUTLSError): pass
class OperationInterrupted(GNUTLSError): pass
class CertificateError(GNUTLSError): pass
class CertificateAuthorityError(CertificateError): pass
class CertificateSecurityError(CertificateError): pass
class CertificateExpiredError(CertificateError): pass
class CertificateRevokedError(CertificateError): pass
class RequestedDataNotAvailable(GNUTLSError): pass
|