Delete exceptions.py
Browse files- exceptions.py +0 -50
exceptions.py
DELETED
@@ -1,50 +0,0 @@
|
|
1 |
-
__all__ = [
|
2 |
-
"OLMoError",
|
3 |
-
"OLMoConfigurationError",
|
4 |
-
"OLMoCliError",
|
5 |
-
"OLMoEnvironmentError",
|
6 |
-
"OLMoNetworkError",
|
7 |
-
"OLMoCheckpointError",
|
8 |
-
]
|
9 |
-
|
10 |
-
|
11 |
-
class OLMoError(Exception):
|
12 |
-
"""
|
13 |
-
Base class for all custom OLMo exceptions.
|
14 |
-
"""
|
15 |
-
|
16 |
-
|
17 |
-
class OLMoConfigurationError(OLMoError):
|
18 |
-
"""
|
19 |
-
An error with a configuration file.
|
20 |
-
"""
|
21 |
-
|
22 |
-
|
23 |
-
class OLMoCliError(OLMoError):
|
24 |
-
"""
|
25 |
-
An error from incorrect CLI usage.
|
26 |
-
"""
|
27 |
-
|
28 |
-
|
29 |
-
class OLMoEnvironmentError(OLMoError):
|
30 |
-
"""
|
31 |
-
An error from incorrect environment variables.
|
32 |
-
"""
|
33 |
-
|
34 |
-
|
35 |
-
class OLMoNetworkError(OLMoError):
|
36 |
-
"""
|
37 |
-
An error with a network request.
|
38 |
-
"""
|
39 |
-
|
40 |
-
|
41 |
-
class OLMoCheckpointError(OLMoError):
|
42 |
-
"""
|
43 |
-
An error occurred reading or writing from a checkpoint.
|
44 |
-
"""
|
45 |
-
|
46 |
-
|
47 |
-
class OLMoThreadError(Exception):
|
48 |
-
"""
|
49 |
-
Raised when a thread fails.
|
50 |
-
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|