aboutsummaryrefslogtreecommitdiffstats
path: root/bsie/base/errors.py
blob: eedce3b2cff0d4810c659003bb900c4ced69d134 (plain)
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
"""Common BSIE exceptions.

Part of the bsie module.
A copy of the license is provided with the project.
Author: Matthias Baumgartner, 2022
"""
# imports
import typing

# exports
__all__: typing.Sequence[str] = (
    'ExtractorError',
    )




## code ##

class _BSIEError(Exception):
    """Generic BSIE error."""

class ExtractorError(_BSIEError):
    """The Extractor failed to process the given content."""

class ReaderError(_BSIEError):
    """The Reader failed to read the given file."""

## EOF ##