Files
edx-platform/xmodule/capa/safe_exec/exceptions.py
2022-07-27 15:36:08 +05:00

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.
"""