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=https://main.vscode-cdn.net/sourcemaps/6a49527b96e326fe62fbdb56f60e16877c9aa724/node_modules/tar/dist/esm/cwd-error.js.map