codekingpro/portable-devtools
114k
1export class SymlinkError extends Error {
2 path;
3 symlink;
4 syscall = 'symlink';
5 code = 'TAR_SYMLINK_ERROR';
6 constructor(symlink, path) {
7 super('TAR_SYMLINK_ERROR: Cannot extract through symbolic link');
8 this.symlink = symlink;
9 this.path = path;
10 }
11 get name() {
12 return 'SymlinkError';
13 }
14}
15//# sourceMappingURL=symlink-error.js.map