co2calculator.exceptionsΒΆ

Exceptions for the co2calculator package

Exceptions

AddressNotFound

Raised when an address or location cannot be found by geocoding.

AirportCodeNodeFound

Raised when an invalid airport code is provided by the user

ConversionFactorNotFound(message)

EmissionFactorNotFound(message)

InvalidCoordinateInput

Raised when latitude or longitude input is invalid

InvalidORSApiKey

Raised when the ORS API key is invalid or unauthorized.

InvalidSpatialInput

Raised when consumer inputs invalid spatial information

MissingORSApiKey

Raised when the ORS API key is missing from the environment.