def FeatureClassesFromWorkspace(inputTDSFeatureDataset):
    arcpy.env.workspace = os.path.dirname(inputTDSFeatureDataset)
    tdsFeatureClasses = arcpy.ListFeatureClasses("*", "Polygon",
                                                 os.path.basename(inputTDSFeatureDataset))
    return tdsFeatureClasses
The way tornado's ErrorHandler works is to raise the appropriate
dataset/ETHPy150Open Esri/solutions-geoprocessing-toolbox/suitability/toolboxes/scripts/GenerateIntermediateLayers.py/FeatureClassesFromWorkspace--crossover with--dataset/ETHPy150Open erkyrath/tworld/lib/tweblib/handlers.py/MyNotFoundErrorHandler.prepare