from meineexception import MeineException def func(): raise MeineException('meine eigene Exception') func()