export class FileNotFoundException extends Error { constructor(id: string) { super(`Файл с id=${id} не найден`); this.name = 'FileNotFoundException'; } }