craft_parts.overlays.errors module

Overlay error definitions.

exception craft_parts.overlays.errors.OverlayChrootExecutionError(message)[source]

Bases: OverlayError

Failed to execute in a chroot environment.

Parameters:

message (str)

exception craft_parts.overlays.errors.OverlayError(brief, details=None, resolution=None, doc_slug=None)[source]

Bases: PartsError

Base class for overlay handler errors.

Parameters:
  • brief (str)

  • details (Optional[str])

  • resolution (Optional[str])

  • doc_slug (Optional[str])

exception craft_parts.overlays.errors.OverlayMountError(mountpoint, message)[source]

Bases: OverlayError

Failed to mount an overlay filesystem.

Parameters:
  • mountpoint (str) – The filesystem mount point.

  • message (str) – The error message.

exception craft_parts.overlays.errors.OverlayUnmountError(mountpoint, message)[source]

Bases: OverlayError

Failed to unmount an overlay filesystem.

Parameters:
  • mountpoint (str) – The filesystem mount point.

  • message (str) – The error message.