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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
|
# Errors and Exceptions
The `pyvesync` library parses the code provided in the API response to determine if the request was successful and a possible reason for failure.
::: pyvesync.utils.errors
handler: python
options:
toc_label: "errors Module"
show_root_heading: false
show_root_toc_entry: false
show_source: false
members: false
filters:
- "!.*pid"
- "!^__*"
::: pyvesync.utils.errors.ResponseInfo
handler: python
options:
parameter_headings: true
toc_label: "ResponseInfo Class"
show_root_heading: true
heading_level: 2
show_source: true
filters:
- "!.*pid"
- "!^__*"
::: pyvesync.utils.errors.ErrorTypes
handler: python
options:
parameter_headings: true
toc_label: "ErrorTypes StrEnum"
show_root_heading: true
heading_level: 2
show_source: true
filters:
- "!.*pid"
- "!^__*"
::: pyvesync.utils.errors.ErrorCodes
handler: python
options:
parameter_headings: true
toc_label: "ErrorCodes"
show_root_heading: true
heading_level: 2
show_source: true
filters:
- "!.*pid"
- "!^__*"
::: pyvesync.utils.errors.raise_api_errors
handler: python
options:
parameter_headings: true
show_root_heading: true
heading_level: 2
show_source: true
filters:
- "!.*pid"
- "!^__*"
## VeSync Exceptions
::: pyvesync.utils.errors.VeSyncError
handler: python
options:
parameter_headings: true
toc_label: "VeSyncError"
show_root_heading: true
heading_level: 3
show_source: true
filters:
- "!.*pid"
- "!^__*"
::: pyvesync.utils.errors.VeSyncLoginError
handler: python
options:
parameter_headings: true
show_root_heading: true
heading_level: 3
show_source: true
filters:
- "!.*pid"
- "!^__*"
::: pyvesync.utils.errors.VeSyncTokenError
handler: python
options:
parameter_headings: true
show_root_heading: true
heading_level: 3
show_source: true
filters:
- "!.*pid"
- "!^__*"
::: pyvesync.utils.errors.VeSyncServerError
handler: python
options:
parameter_headings: true
show_root_heading: true
heading_level: 3
show_source: true
filters:
- "!.*pid"
- "!^__*"
::: pyvesync.utils.errors.VeSyncRateLimitError
handler: python
options:
parameter_headings: true
show_root_heading: true
heading_level: 3
show_source: true
filters:
- "!.*pid"
- "!^__*"
::: pyvesync.utils.errors.VeSyncAPIResponseError
handler: python
options:
parameter_headings: true
show_root_heading: true
heading_level: 3
show_source: true
filters:
- "!.*pid"
- "!^__*"
::: pyvesync.utils.errors.VeSyncAPIStatusCodeError
handler: python
options:
parameter_headings: true
show_root_heading: true
heading_level: 3
show_source: true
filters:
- "!.*pid"
- "!^__*"
|