Skip to content

Commit

Permalink
finalize API for FileSystemError#code, #90517
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Mar 19, 2020
1 parent 6cf2f6b commit d778f85
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
8 changes: 8 additions & 0 deletions src/vs/vscode.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6020,6 +6020,14 @@ declare module 'vscode' {
* @param messageOrUri Message or uri.
*/
constructor(messageOrUri?: string | Uri);

/**
* A code that identifies this error.
*
* Possible values are names of errors, like [`FileNotFound`](#FileSystemError.FileNotFound),
* or `Unknown` for unspecified errors.
*/
readonly code: string;
}

/**
Expand Down
15 changes: 0 additions & 15 deletions src/vs/vscode.proposed.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2023,21 +2023,6 @@ declare module 'vscode' {

//#endregion

//#region https://github.com/microsoft/vscode/issues/90517

export interface FileSystemError {
/**
* A code that identifies this error.
*
* Possible values are names of errors, like [`FileNotFound`](#FileSystemError.FileNotFound),
* or `Unknown` for an unspecified error.
*/
readonly code: string;
}

//#endregion


//#region https://github.com/microsoft/vscode/issues/90208

export namespace Uri {
Expand Down

0 comments on commit d778f85

Please sign in to comment.