qgis_deployment_toolbelt.exceptions module¶
Custom exceptions.
- exception qgis_deployment_toolbelt.exceptions.DomainControllerUnreachableError(data_label: str)¶
Bases:
QdtErrorWhen the domain controller can’t be reached to retrieve user data.
- exception qgis_deployment_toolbelt.exceptions.InvalidScenarioError(scenario_path: Path | str, reason: str)¶
Bases:
QdtError,ValueErrorWhen a scenario file can’t be parsed: YAML syntax or text encoding.
Structure checks (required keys, steps…) are handled by ScenarioReader.validate_scenario().
- exception qgis_deployment_toolbelt.exceptions.JobOptionBadNameError(job_id: str, bad_option_name: str, expected_options_names: Iterable[str])¶
-
When a job reveives an option which is not part of accepted ones.
- exception qgis_deployment_toolbelt.exceptions.JobOptionBadValueError(job_id: str, bad_option_name: str, bad_option_value: str, condition: str, accepted_values: Iterable[str] | None = None)¶
Bases:
QdtError,ValueErrorWhen a job’s option reveives a value which does not complies with condition.
- exception qgis_deployment_toolbelt.exceptions.JobOptionBadValueTypeError(job_id: str, bad_option_name: str, bad_option_value: str, expected_option_type: Iterable[str])¶
-
When a job reveives an option which is not of the expected type.
- exception qgis_deployment_toolbelt.exceptions.JobOptionMissingError(job_id: str, missing_option_name: str)¶
-
When a required option of a job is not set.
- exception qgis_deployment_toolbelt.exceptions.QgisCustomizationXmlError(xml_filepath: Path, reason: str)¶
Bases:
QdtError,ValueErrorWhen an existing QGIS customization XML file can’t be edited.
- exception qgis_deployment_toolbelt.exceptions.QgisInstallNotFoundError¶
Bases:
QdtErrorWhen no QGIS installation are found.
- __init__()¶
Initialization method.