SCAutolib.exceptions
Exceptions that are used in the SCAutolib library. This module defines a hierarchy of custom exception classes that are raised by SCAutolib components to signal specific error conditions during operations. These custom exceptions provide more specific context than generic Python exceptions, aiding in error handling and debugging.
Exceptions
- exception SCAutolibException(*args)[source]
Base exception class for all custom exceptions within SCAutolib. All other SCAutolib-specific exceptions inherit from this class, allowing for a unified way to catch any error originating from the library.
- exception SCAutolibMissingCA(msg=None)[source]
Exception raised when a Certificate Authority (CA) required for an operation is not configured on the system. This typically occurs if a smart card enrollment or certificate request is attempted without a proper CA setup.