Vault.on('unreadable') method
Vault › on(‘unreadable’)
Unofficial
Triggered when the desktop adapter cannot list a path for lack of permission (EACCES or EPERM).Signature:
on(name: "unreadable", callback: (path: string) => void, ctx?: unknown): EventRefParameters:
| Parameter | Type | Description |
|---|---|---|
| name | "unreadable" | Should be 'unreadable'. |
| callback | (path: string) => void | The callback function, called with the unreadable path. |
| ctx? | unknown | The context passed as this to the callback function. |
Returns: EventRef — The event reference.