I am now using `ApplicationNotFoundError ` from `cogent.app.util` to raise the error