Module glasswall.libraries.security_tagging.errors
Expand source code
from glasswall.libraries.security_tagging.classes import SecurityTaggingError
class UnknownErrorCode(SecurityTaggingError):
""" Unknown error code. """
pass
# TODO expand, pending security tagging status code enhancements
class GeneralFail(SecurityTaggingError):
""" SecurityTagging error code 0. """
pass
error_codes = {
0: GeneralFail,
}
Classes
class GeneralFail (*args, **kwargs)
-
SecurityTagging error code 0.
Expand source code
class GeneralFail(SecurityTaggingError): """ SecurityTagging error code 0. """ pass
Ancestors
- SecurityTaggingError
- builtins.Exception
- builtins.BaseException
class UnknownErrorCode (*args, **kwargs)
-
Unknown error code.
Expand source code
class UnknownErrorCode(SecurityTaggingError): """ Unknown error code. """ pass
Ancestors
- SecurityTaggingError
- builtins.Exception
- builtins.BaseException