Depends on #7253 | Story: [PAY-863](https://linear.app/n8n/issue/PAY-863/switch-binary-filesystem-mode-to-nested-path-structure) This PR introduces `filesystem-v2` to store binary data in the filesystem in the same format as `s3`.
12 lines
307 B
TypeScript
12 lines
307 B
TypeScript
import { CONFIG_MODES } from './utils';
|
|
|
|
export class InvalidModeError extends Error {
|
|
message = `Invalid binary data mode. Valid modes: ${CONFIG_MODES.join(', ')}`;
|
|
}
|
|
|
|
export class UnknownManagerError extends Error {
|
|
constructor(mode: string) {
|
|
super(`No binary data manager found for: ${mode}`);
|
|
}
|
|
}
|