File size: 445 Bytes
01d5a5d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
class FileProcessingError(Exception):
    """Base class for file processing errors"""

    pass


class UnsupportedFileType(FileProcessingError):
    """Unsupported file type"""

    pass


class FileReadError(FileProcessingError):
    """File reading error"""

    pass


class FileWriteError(FileProcessingError):
    """File writing error"""

    pass


class ProcessingError(FileProcessingError):
    """Error during processing"""

    pass