Nice error messages pointing to yaml files when ProfileError is raised