univk_audio.client_exceptions   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 39
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 17
dl 0
loc 39
rs 10
c 0
b 0
f 0
1
from typing import Tuple
0 ignored issues
show
introduced by
Missing module docstring
Loading history...
2
3
__all__: Tuple[str, ...] = (
4
    "InvalidQuery",
5
    "InvalidPath",
6
    "SearchSongError",
7
    "ParserError",
8
    "ParseLinkError",
9
    "DownloaderRequestError",
10
    "DownloaderWriteError"
11
)
12
13
class InvalidQuery(Exception):
14
    """Handle 'invalid query' error"""
15
16
17
class InvalidPath(Exception):
18
    """Handle 'invalid path' error"""
19
20
21
class SearchSongError(Exception):
22
    """Handle searcher error"""
23
24
25
class ParserError(Exception):
26
    """Handle parser error"""
27
28
29
class ParseLinkError(Exception):
30
    """Handle link parser error"""
31
32
33
class DownloaderRequestError(Exception):
34
    """Handle download request error"""
35
36
37
class DownloaderWriteError(Exception):
38
    """Handle file writing errors"""
39