qgis_deployment_toolbelt.exceptions module¶
Custom exceptions.
- exception qgis_deployment_toolbelt.exceptions.JobOptionBadName(job_id: str, bad_option_name: str, expected_options_names: Iterable[str])¶
Bases:
KeyError
When a job reveives an option which is not part of accepted ones.
- exception qgis_deployment_toolbelt.exceptions.JobOptionBadValue(job_id: str, bad_option_name: str, bad_option_value: str, condition: str, accepted_values: Iterable[str])¶
Bases:
ValueError
When a job’s option reveives a value which does not complies with condition.
- exception qgis_deployment_toolbelt.exceptions.JobOptionBadValueType(job_id: str, bad_option_name: str, bad_option_value: str, expected_option_type: Iterable[str])¶
Bases:
TypeError
When a job reveives an option which is not of the expected type.
- exception qgis_deployment_toolbelt.exceptions.QgisInstallNotFound¶
Bases:
Exception
When no QGIS installation are found.
- __init__()¶
Initialization method.