skip invalid actions during parsing (#381)

This commit is contained in:
LawyZheng
2024-05-30 09:23:58 +08:00
committed by GitHub
parent 0b86f9fb38
commit 6445fb93b0
2 changed files with 123 additions and 95 deletions

View File

@@ -267,3 +267,8 @@ class UnknownElementTreeFormat(SkyvernException):
class StepTerminationError(SkyvernException):
def __init__(self, step_id: str, reason: str) -> None:
super().__init__(f"Step {step_id} cannot be executed and task is terminated. Reason: {reason}")
class UnsupportedActionType(SkyvernException):
def __init__(self, action_type: str):
super().__init__(f"Unsupport action type: {action_type}")