UNPKG

421 BTypeScriptView Raw
1import { Status } from './rwlockfile';
2export declare class LockfileError extends Error {
3 code: string;
4 file: string;
5 msg: string | undefined;
6 reason: string | undefined;
7 constructor({msg, file, reason}: {
8 file: string;
9 msg?: string;
10 reason?: string;
11 });
12}
13export declare class RWLockfileError extends LockfileError {
14 status: Status;
15 constructor(status: Status);
16}