| 1234567891011 |
- import { LaunchContext, LaunchState, LaunchStateId } from './LaunchState';
- export class FailedState implements LaunchState {
- readonly id = LaunchStateId.Failed;
- async enter(context: LaunchContext): Promise<null> {
- console.error('[LaunchStateMachine] bootstrap failed', context.error);
- context.progress({ state: this.id, title: '初始化失败,请重试' });
- return null;
- }
- }
|