Spaces:
Running
Running
Joshua Lochner
commited on
Commit
·
02e576a
1
Parent(s):
d7a594b
Create `ClassifierLoadError`
Browse files- src/errors.py +5 -0
src/errors.py
CHANGED
|
@@ -21,3 +21,8 @@ class ModelError(SponsorBlockException):
|
|
| 21 |
class ModelLoadError(ModelError):
|
| 22 |
"""An exception occurred while loading the model"""
|
| 23 |
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
class ModelLoadError(ModelError):
|
| 22 |
"""An exception occurred while loading the model"""
|
| 23 |
pass
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
class ClassifierLoadError(ModelError):
|
| 27 |
+
"""An exception occurred while loading the classifier"""
|
| 28 |
+
pass
|