mirror of
https://github.com/github/codeql-action.git
synced 2025-12-30 11:10:22 +08:00
14 lines
310 B
JavaScript
14 lines
310 B
JavaScript
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
|