UNPKG

rwlockfile

Version:

lockfile utility with reader/writers

17 lines (16 loc) 421 B
import { Status } from './rwlockfile'; export declare class LockfileError extends Error { code: string; file: string; msg: string | undefined; reason: string | undefined; constructor({msg, file, reason}: { file: string; msg?: string; reason?: string; }); } export declare class RWLockfileError extends LockfileError { status: Status; constructor(status: Status); }