Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

254 B
Raw Blame
import { FileLock } from '../interfaces/file-lock.interface.js'

export class LockConflict extends Error {
  lock: FileLock

  constructor(lock: FileLock, message: string) {
    super(message)
    this.name = LockConflict.name
    this.lock = lock
  }
}