set exception if erb cannot be found