Files
edx-platform/common/lib/capa/capa/safe_exec/exceptions.py
Eric Herrera fc7104cde5 fix: Address PR comments
Address fixes recommended by @timmc-edx.
2021-10-14 08:11:40 -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.
"""