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 that was detected.
original_errorstrThe original error message that led to the detection of the invalid package.

Constructor

Signature

def InvalidPackageError(
package_name: str,
original_error: str
) - > null

Parameters

NameTypeDescription
package_namestrThe name of the invalid package.
original_errorstrThe original error message.

Signature

def InvalidPackageError(
package_name: str,
original_error: str
) - > null

Parameters

NameTypeDescription
package_namestrThe name of the system package that was detected as invalid. This name is included in the error message to identify the problematic package.
original_errorstrThe original error message or exception string that led to the detection of the invalid package. This provides additional context for debugging the issue.