We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a837ec commit 72f68c0Copy full SHA for 72f68c0
Extension/src/LanguageServer/copilotCompletionContextProvider.ts
@@ -23,12 +23,13 @@ class DefaultValueFallback extends Error {
23
24
class CancellationError extends Error {
25
static readonly Canceled = "Canceled";
26
- constructor() { super(CancellationError.Canceled); }
+ constructor() {
27
+ super(CancellationError.Canceled);
28
+ this.name = this.message;
29
+ }
30
}
31
-class InternalCancellationError extends Error {
- static readonly Canceled = "CpptoolsCanceled";
- constructor() { super(InternalCancellationError.Canceled); }
32
+class InternalCancellationError extends CancellationError {
33
34
35
class CopilotCancellationError extends CancellationError {
0 commit comments