@@ -9,64 +9,3 @@ class TranscriptsGenerationException(Exception):
99
1010class TranscriptNotFoundError (Exception ):
1111 pass
12-
13- # # lint-amnesty, pylint: disable=missing-module-docstring
14- # class InvalidDefinitionError(Exception):
15- # pass
16-
17-
18- class NotFoundError (Exception ):
19- pass
20-
21-
22- # class ProcessingError(Exception):
23- # '''
24- # An error occurred while processing a request to the XModule.
25- # For example: if an exception occurs while checking a capa problem.
26- # '''
27- # pass # lint-amnesty, pylint: disable=unnecessary-pass
28-
29-
30- # class InvalidVersionError(Exception):
31- # """
32- # Tried to save an item with a location that a store cannot support (e.g., draft version
33- # for a non-leaf node)
34- # """
35- # def __init__(self, location):
36- # super().__init__()
37- # self.location = location
38-
39-
40- # class SerializationError(Exception):
41- # """
42- # Thrown when a module cannot be exported to XML
43- # """
44- # def __init__(self, location, msg):
45- # super().__init__(msg)
46- # self.location = location
47-
48-
49- # class UndefinedContext(Exception):
50- # """
51- # Tried to access an xmodule field which needs a different context (runtime) to have a value.
52- # """
53- # pass # lint-amnesty, pylint: disable=unnecessary-pass
54-
55-
56- # class HeartbeatFailure(Exception):
57- # """
58- # Raised when heartbeat fails.
59- # """
60-
61- # def __init__(self, msg, service):
62- # """
63- # In addition to a msg, provide the name of the service.
64- # """
65- # self.service = service
66- # super().__init__(msg)
67-
68-
69- class ServiceUnavailable (Exception ):
70- """
71- This error is raised if the service backing this client is currently unavailable.
72- """
0 commit comments