Handle compile and runtime prompt file errors