Exceptions
InvalidFileFormat
Bases: Exception
Exception to raise when the file type is incorrect.
Source code in apple_health_parser/exceptions.py
31 32 33 34 35 36 37 38 39 |
|
InvalidFlag
Bases: Exception
Exception to raise when the flag is incorrect.
Source code in apple_health_parser/exceptions.py
42 43 44 45 46 47 48 |
|
InvalidHeatmapOperation
Bases: Exception
Exception to raise when the operation is invalid for a heatmap (i.e. when operation is None
).
Source code in apple_health_parser/exceptions.py
51 52 53 54 55 56 57 58 59 |
|
InvalidImageFormat
Bases: Exception
Exception to raise when the image format is incorrect.
Source code in apple_health_parser/exceptions.py
62 63 64 65 66 67 68 69 70 |
|
InvalidOperation
Bases: Exception
Exception to raise when the operation is invalid.
Source code in apple_health_parser/exceptions.py
73 74 75 76 77 78 79 80 81 |
|
InvalidOverviewType
Bases: Exception
Exception to raise when the overview type is invalid.
Source code in apple_health_parser/exceptions.py
84 85 86 87 88 89 90 91 92 |
|
InvalidSource
Bases: Exception
Exception to raise when the source is missing.
Source code in apple_health_parser/exceptions.py
95 96 97 98 99 100 101 102 103 |
|
MissingFlag
Bases: Exception
Exception to raise when the flag is missing.
Source code in apple_health_parser/exceptions.py
4 5 6 7 8 9 10 |
|
MissingRecords
Bases: Exception
Exception to raise when records are missing.
Source code in apple_health_parser/exceptions.py
13 14 15 16 17 18 19 |
|
MissingYear
Bases: Exception
Exception to raise when there is no record for the given year.
Source code in apple_health_parser/exceptions.py
22 23 24 25 26 27 28 |
|