import { WorkspaceFolder } from 'vscode' ; import { AzExtParentTreeItem , AzExtTreeItem } from 'vscode-azureextensionui' ; import { LocalProjectTreeItemBase } from './LocalProjectTreeItemBase' ; export class InvalidLocalProjectTreeItem extends LocalProjectTreeItemBase { public contextValue : string = 'invalidAzFuncLocalProject' ; private readonly _projectError : unknown | undefined ; public constructor ( parent , projectPath , projectError , folder ) { super ( parent , projectPath , folder ) ; this . _projectError = projectError ; } public hasMoreChildrenImpl ( ) { return false ; } public async loadMoreChildrenImpl ( _clearCache ) { throw this . _projectError ; } }