Skip to content

Exceptions

StacException

Bases: Exception

Exceptions handled by the stac_generator. Asset exceptions and Config exceptions

SourceAssetException

Bases: StacException

Exception raised when the source data cannot be read by itself

SourceAssetLocationException

Bases: SourceAssetException

Exception raised when the source asset location cannot be accessed

TimezoneException

Bases: StacException

Exception raised when timezone information cannot be determined from geometry

StacConfigException

Bases: StacException

Exception raised when the config metadata is misspecified

ConfigFormatException

Bases: StacConfigException

Exception raised when the format of the config is invalid

InvalidExtensionException

Bases: StacConfigException

Exception raised when the config extension is unsupported

ColumnInfoException

Bases: StacConfigException

Exception raised when information described in column info does not match source asset

BandInfoException

Bases: StacConfigException

Exception raised when information described in band info does not match raster asset

JoinConfigException

Bases: StacConfigException

Exception raised when information provided in join config is invalid