-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes to kernel installation prmopts and tests
- Loading branch information
1 parent
6503ab0
commit 278b2dc
Showing
30 changed files
with
476 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
import { DataScience } from '../../client/common/utils/localize'; | ||
import { getDisplayNameOrNameOfKernelConnection } from '../../kernels/helpers'; | ||
import { KernelConnectionMetadata } from '../../kernels/types'; | ||
import { WrappedKernelError } from './types'; | ||
|
||
export class KernelDeadError extends WrappedKernelError { | ||
constructor(kernelConnectionMetadata: KernelConnectionMetadata) { | ||
super( | ||
DataScience.kernelDiedWithoutError().format( | ||
getDisplayNameOrNameOfKernelConnection(kernelConnectionMetadata) | ||
), | ||
undefined, | ||
kernelConnectionMetadata | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.