未验证 提交 f642a83b 编写于 作者: J Johannes Rieken 提交者: GitHub

Merge pull request #73759 from Linskeyd/fix-file-system-error-doc-block

Fix docblock for FileSystemError
......@@ -5500,8 +5500,8 @@ declare module 'vscode' {
/**
* A type that filesystem providers should use to signal errors.
*
* This class has factory methods for common error-cases, like `EntryNotFound` when
* a file or folder doesn't exist, use them like so: `throw vscode.FileSystemError.EntryNotFound(someUri);`
* This class has factory methods for common error-cases, like `FileNotFound` when
* a file or folder doesn't exist, use them like so: `throw vscode.FileSystemError.FileNotFound(someUri);`
*/
export class FileSystemError extends Error {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册