Skip to main content

InvalidPackageError

Raised when an invalid system package is detected during image build.

Attributes​

AttributeTypeDescription
package_namestrThe name of the invalid system package detected during the image build process.
original_errorstrThe original error message detailing why the package failed or could not be found.

Constructor​

Signature​

def InvalidPackageError(self, package_name: str, original_error: str): ...

Parameters​

NameTypeDescription
package_namestrThe name of the invalid system package that was detected.
original_errorstrThe original error message detailing why the package is invalid.