/**
 * Application File System Service
 *
 * Output port for read/write/watch access to files inside an application's
 * working directory. Keeps presentation and application layers free of
 * direct `node:fs` imports and enforces a single boundary (the application
 * root) so path-traversal is impossible from outside the core.
 *
 * All `relativePath` arguments are POSIX-style ("/"-separated) paths
 * relative to the root. Implementations MUST normalize, resolve, and
 * reject any path that escapes the root.
 */
export class ApplicationFileSystemError extends Error {
    code;
    constructor(message, code) {
        super(message);
        this.code = code;
        this.name = 'ApplicationFileSystemError';
    }
}
