univk_audio.auth_exceptions   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 44
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 19
dl 0
loc 44
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
    "OAuthRequestError",
5
    "VKIDRequestError",
6
    "ConnectAuthRequestError",
7
    "SendCodeRequestError",
8
    "GetCookiesRequestError",
9
    "AuthObjectNotFound",
10
    "AuthParsingError",
11
    "CookieWriterError"
12
)
13
14
class OAuthRequestError(Exception):
15
    """Handle 'OAuth request failed' error"""
16
17
18
class VKIDRequestError(Exception):
19
    """Handle 'VK ID request failed' error"""
20
21
22
class ConnectAuthRequestError(Exception):
23
    """Handle 'Connect Auth request failed' error"""
24
25
26
class SendCodeRequestError(Exception):
27
    """Handle 'Send Code request failed' error"""
28
29
30
class GetCookiesRequestError(Exception):
31
    """Handle 'Get Cookies request failed' error"""
32
33
34
class AuthObjectNotFound(Exception):
35
    """Handle 'Auth Object Not Found' error"""
36
37
38
class AuthParsingError(Exception):
39
    """Handle Auth Parsing function error"""
40
41
42
class CookieWriterError(Exception):
43
    """Handle file writing error"""
44