aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/tar/dist/esm/cwd-error.js
blob: 289a066b8e0317119b44d3d038e0a905e5df07d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export class CwdError extends Error {
    path;
    code;
    syscall = 'chdir';
    constructor(path, code) {
        super(`${code}: Cannot cd into '${path}'`);
        this.path = path;
        this.code = code;
    }
    get name() {
        return 'CwdError';
    }
}
//# sourceMappingURL=cwd-error.js.map