2024-05-21 22:48:41 +08:00
|
|
|
class ImplementRunException(Exception):
|
|
|
|
|
"""
|
|
|
|
|
Exceptions raised when Implementing and running code.
|
2024-07-05 17:42:00 +08:00
|
|
|
- start: FactorTask => FactorGenerator
|
2024-05-21 22:48:41 +08:00
|
|
|
- end: Get dataframe after execution
|
|
|
|
|
|
|
|
|
|
The more detailed evaluation in dataframe values are managed by the evaluator.
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class CodeFormatException(ImplementRunException):
|
|
|
|
|
"""
|
|
|
|
|
The generated code is not found due format error.
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class RuntimeErrorException(ImplementRunException):
|
|
|
|
|
"""
|
|
|
|
|
The generated code fail to execute the script.
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class NoOutputException(ImplementRunException):
|
|
|
|
|
"""
|
|
|
|
|
The code fail to generate output file.
|
|
|
|
|
"""
|