Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ class DefaultValueFallback extends Error {

class CancellationError extends Error {
static readonly Canceled = "Canceled";
constructor() { super(CancellationError.Canceled); }
constructor() {
super(CancellationError.Canceled);
this.name = this.message;
}
}

class InternalCancellationError extends Error {
static readonly Canceled = "CpptoolsCanceled";
constructor() { super(InternalCancellationError.Canceled); }
class InternalCancellationError extends CancellationError {
}

class CopilotCancellationError extends CancellationError {
Expand Down