n8n/packages/core/src/errors.ts
कारतोफ्फेलस्क्रिप्ट™ eef2574067
fix(core): Do not allow arbitrary path traversal in BinaryDataManager (#5523)
2023-02-21 11:21:17 +01:00

6 lines
134 B
TypeScript

export class FileNotFoundError extends Error {
constructor(readonly filePath: string) {
super(`File not found: ${filePath}`);
}
}