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

Online Documentation

Constructors

Link copied to clipboard
constructor(messageOrUri: JsAny = definedExternally)

Creates a new filesystem error.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A code that identifies this error.

Link copied to clipboard
expect open val message: String?