"""Application exceptions.""" class AppException(Exception): """Application level exception.""" exit_code = 1 class StereoProductNotFound(AppException): """Stereo UPC does not correspond to any known release.""" exit_code = 2 class StereoTrackNotFound(AppException): """Stereo ISRC is not associated with the given stereo UPC.""" exit_code = 3 class SpatialAssetNotFound(AppException): """Spatial ISRC is not associated with the given spatial UPC (no asset found in bucket).""" exit_code = 4 class DisplayUpcNotFound(AppException): """Display UPC does not correspond to any known release.""" exit_code = 5