ResourceLockedError
Thrown by the vault-mutation blocker when a plugin tries to edit, delete, rename, move, or create a resource whose path is covered by a lock taken with ResourceLockComponentLockForPathParams.shouldBlockMutations.
Import:
import { ResourceLockedError } from 'obsidian-dev-utils/obsidian/resource-lock';Signature:
export class ResourceLockedError extends ErrorExtends: Error
Properties
| Property | Type | Description |
|---|---|---|
| path | string | The vault path whose mutation was blocked. |
Links to this page: