Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FileSystemError

A type that filesystem providers should use to signal errors.

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);

Hierarchy

  • Error
    • FileSystemError

Index

Constructors

constructor

Properties

Readonly code

code: string

A code that identifies this error.

Possible values are names of errors, like FileNotFound, or Unknown for unspecified errors.

Methods

Static FileExists

Static FileIsADirectory

Static FileNotADirectory

Static FileNotFound

Static NoPermissions

Static Unavailable