aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/tar/dist/esm/cwd-error.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/tar/dist/esm/cwd-error.js')
-rw-r--r--node_modules/tar/dist/esm/cwd-error.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/node_modules/tar/dist/esm/cwd-error.js b/node_modules/tar/dist/esm/cwd-error.js
new file mode 100644
index 0000000..289a066
--- /dev/null
+++ b/node_modules/tar/dist/esm/cwd-error.js
@@ -0,0 +1,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 \ No newline at end of file