Skip to content
Lucent
Esc
↑↓navigate↵open

FileSystemErrorReason

Why a filesystem action failed.

type FileSystemErrorReason =
  | "invalid-path"
  | "not-found"
  | "not-file"
  | "not-directory"
  | "directory-not-empty"
  | "too-large"
  | "too-many-entries"
  | "invalid-utf8"
  | "invalid-json"
  | "not-json-serializable"
  | "permission-denied"
  | "busy"
  | "session-closed"
  | "unavailable"

Defined in ScriptApi.ts:896

Type preview
Open page

Last updated on September 26, 2026

Was this page helpful?