Liking cljdoc? Tell your friends :D

dots.vscode.file-system-error

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

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);`
raw docstring

codecljs

(code file-system-error)

A code that identifies this error.

Possible values are names of errors, like {@linkcode FileSystemError.FileNotFound FileNotFound}, or Unknown for unspecified errors.

A code that identifies this error.

Possible values are names of errors, like {@linkcode FileSystemError.FileNotFound FileNotFound},
or `Unknown` for unspecified errors.
sourceraw docstring

file-existscljs

(file-exists)
(file-exists message-or-uri)

Create an error to signal that a file or folder already exists, e.g. when creating but not overwriting a file.

Parameters:

  • message-or-uri: string | Uri | undefined - Message or uri.

Returns: FileSystemError

Create an error to signal that a file or folder already exists, e.g. when
creating but not overwriting a file.

**Parameters:**
- `message-or-uri`: `string | Uri | undefined` - Message or uri.

**Returns:** `FileSystemError`
sourceraw docstring

file-is-a-directorycljs

(file-is-a-directory)
(file-is-a-directory message-or-uri)

Create an error to signal that a file is a folder.

Parameters:

  • message-or-uri: string | Uri | undefined - Message or uri.

Returns: FileSystemError

Create an error to signal that a file is a folder.

**Parameters:**
- `message-or-uri`: `string | Uri | undefined` - Message or uri.

**Returns:** `FileSystemError`
sourceraw docstring

file-not-a-directorycljs

(file-not-a-directory)
(file-not-a-directory message-or-uri)

Create an error to signal that a file is not a folder.

Parameters:

  • message-or-uri: string | Uri | undefined - Message or uri.

Returns: FileSystemError

Create an error to signal that a file is not a folder.

**Parameters:**
- `message-or-uri`: `string | Uri | undefined` - Message or uri.

**Returns:** `FileSystemError`
sourceraw docstring

file-not-foundcljs

(file-not-found)
(file-not-found message-or-uri)

Create an error to signal that a file or folder wasn't found.

Parameters:

  • message-or-uri: string | Uri | undefined - Message or uri.

Returns: FileSystemError

Create an error to signal that a file or folder wasn't found.

**Parameters:**
- `message-or-uri`: `string | Uri | undefined` - Message or uri.

**Returns:** `FileSystemError`
sourceraw docstring

messagecljs

(message file-system-error)
source

namecljs

(name file-system-error)
source

no-permissionscljs

(no-permissions)
(no-permissions message-or-uri)

Create an error to signal that an operation lacks required permissions.

Parameters:

  • message-or-uri: string | Uri | undefined - Message or uri.

Returns: FileSystemError

Create an error to signal that an operation lacks required permissions.

**Parameters:**
- `message-or-uri`: `string | Uri | undefined` - Message or uri.

**Returns:** `FileSystemError`
sourceraw docstring

set-message!cljs

(set-message! file-system-error value)
source

set-name!cljs

(set-name! file-system-error value)
source

set-stack!cljs

(set-stack! file-system-error value)
source

stackcljs

(stack file-system-error)
source

unavailablecljs

(unavailable)
(unavailable message-or-uri)

Create an error to signal that the file system is unavailable or too busy to complete a request.

Parameters:

  • message-or-uri: string | Uri | undefined - Message or uri.

Returns: FileSystemError

Create an error to signal that the file system is unavailable or too busy to
complete a request.

**Parameters:**
- `message-or-uri`: `string | Uri | undefined` - Message or uri.

**Returns:** `FileSystemError`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close