thrownewTaskError(Severity.Warning,nls.localize('TaskSystem.active','There is an active running task right now. Terminate it first before executing another task.'),2);
thrownewTaskError(Severity.Warning,nls.localize('TaskSystem.active','There is an active running task right now. Terminate it first before executing another task.'),TaskErrors.RunningTask);
thrownewTaskError(Severity.Error,nls.localize('TaskRunnerSystem.fatalError','The provided task configuration has validation errors. See tasks output log for details.'));
thrownewTaskError(Severity.Error,nls.localize('TaskRunnerSystem.fatalError','The provided task configuration has validation errors. See tasks output log for details.'),TaskErrors.ConfigValidationError);
}
}
lettask=this.configuration.tasks[taskIdentifier];
lettask=this.configuration.tasks[taskIdentifier];
if(!task){
if(!task){
thrownewTaskError(Severity.Info,nls.localize('TaskRunnerSystem.norebuild','No task to execute found.'));
thrownewTaskError(Severity.Info,nls.localize('TaskRunnerSystem.norebuild','No task to execute found.'),TaskErrors.TaskNotFound);
thrownewTaskError(Severity.Error,nls.localize('TaskRunnerSystem.unknownError','A unknown error has occurred while executing a task. See task output log for details.'));
thrownewTaskError(Severity.Error,nls.localize('TaskRunnerSystem.unknownError','A unknown error has occurred while executing a task. See task output log for details.'),TaskErrors.UnknownError);