As part of dissolving our sub-projects in edx-platform, we are moving this package under the xmodule directory. We have fixed all the occurences of import of this package and also fixed all documents related references. This might break your platform if you have any reference of `import capa` or `from capa import` in your codebase or in any Xblock. Ref: https://openedx.atlassian.net/browse/BOM-2582
22 lines
473 B
Python
22 lines
473 B
Python
"""
|
|
Exceptions related to safe exec.
|
|
"""
|
|
|
|
|
|
class CodejailServiceParseError(Exception):
|
|
"""
|
|
An exception that is raised whenever we have issues with data parsing.
|
|
"""
|
|
|
|
|
|
class CodejailServiceStatusError(Exception):
|
|
"""
|
|
An exception that is raised whenever Codejail service response status is different to 200.
|
|
"""
|
|
|
|
|
|
class CodejailServiceUnavailable(Exception):
|
|
"""
|
|
An exception that is raised whenever Codejail service is unavailable.
|
|
"""
|