import IVSCServerManagerState from "./IVSCServerManagerState" ; import VSCServerManagerBase from "./VSCServerManagerBase" ; export class VSCServerManagerStartingState implements IVSCServerManagerState { public async start ( serverManager ) { throw new Error ( `Cannot start server. ${ serverManager . name } is under initializing.` ) ; } public async close ( serverManager ) { throw new Error ( `Cannot close server. ${ serverManager . name } is under initializing.` ) ; } public async clean ( serverManager ) { throw new Error ( `Cannot clean server. ${ serverManager . name } is under initializing.` ) ; } }