causing a 500 error. When XModule raises a ProcessingError during an AJAX request, this module_render now returns a 404 to further reduce number of 500 responses.
13 lines
288 B
Python
13 lines
288 B
Python
class InvalidDefinitionError(Exception):
|
|
pass
|
|
|
|
class NotFoundError(Exception):
|
|
pass
|
|
|
|
class ProcessingError(Exception):
|
|
'''
|
|
An error occurred while processing a request to the XModule.
|
|
For example: if an exception occurs while checking a capa problem.
|
|
'''
|
|
pass
|