Skip to content

Errors

errors

Defines typed exception that the launcher may raise

Usage

This sub-package (core) raises these so that the presentation layers (Rich CLI, Flet GUI) can map them to friendly messages and exit codes without parsing strings

BuildSourceError

Bases: LauncherError

Local image building cannot proceed

Raised when the managed source checkout is unavailable and could not be created (e.g. git missing, or the clone failed)

DependencyError

Bases: LauncherError

A required external dependency is missing or not functioning

Raised when Docker, Git, or another pre-requisite the requested action needs is unavailable

EnvConfigError

Bases: LauncherError

The resolved environment is invalid for the requested action

Raised when a required environment variable is missing and prompts are disabled, or when a .env file cannot be read

LauncherError

Bases: Exception

Base class for all launcher errors