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.SplashScreenBadDimensions(image_filepath: Path, profile_name: str = None)#

Bases: Exception

When splash screen image does not comply with recomended dimensions.