GeoEco.Datasets.CollectionIsEmptyError

exception GeoEco.Datasets.CollectionIsEmptyError(collectionDisplayName=None, expression=None)

Bases: GeoEcoError

Exception indicating that a DatasetCollection does not have any Datasets in it.

Parameters:
  • collectionDisplayName (str, optional) – DisplayName of the DatasetCollection. Minimum length꞉ 1.

  • expression (str, optional) – Query expression that was used to query the DatasetCollection and that failed to select any datasets. Minimum length꞉ 1.

Returns:

New CollectionIsEmptyError instance.

Return type:

CollectionIsEmptyError