483
485
# We need to use the class name "GnuTLS" here, since this
484
486
# exception might be raised from within GnuTLS.__init__,
485
487
# which is called before the assignment to the "gnutls"
487
489
def __init__(self, message = None, code = None, args=()):
488
490
# Default usage is by a message string, but if a return
489
491
# code is passed, convert it to a string with
491
494
if message is None and code is not None:
492
495
message = GnuTLS.strerror(code)
493
496
return super(GnuTLS.Error, self).__init__(