PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` from gssapi.raw.exceptions import * # noqa from gssapi.raw.misc import GSSError # noqa """High-Level API Errors This module includes several high-level exceptions, in addition to GSSError and exceptions from :mod:`gssapi.raw.exceptions`. """ # non-GSS exceptions class GeneralError(Exception): """A General High-Level API Error""" MAJOR_MESSAGE = "General error" FMT_STR = "{maj}: {min}." def __init__(self, minor_message, **kwargs): maj_str = self.MAJOR_MESSAGE.format(**kwargs) err_str = self.FMT_STR.format(maj=maj_str, min=minor_message) super(GeneralError, self).__init__(err_str) class UnknownUsageError(GeneralError): """An Error indicating an unknown usage type""" MAJOR_MESSAGE = "Unable to determine {obj} usage" class EncryptionNotUsed(GeneralError): """An Error indicating that encryption was requested, but not used""" MAJOR_MESSAGE = "Confidentiality was requested, but not used" def __init__(self, minor_message, unwrapped_message=None, **kwargs): super(EncryptionNotUsed, self).__init__(minor_message, **kwargs) self.unwrapped_message = unwrapped_message