support global workflow (#1664)
This commit is contained in:
@@ -124,3 +124,11 @@ class FailedToFormatJinjaStyleParameter(SkyvernException):
|
||||
class NoIterableValueFound(SkyvernException):
|
||||
def __init__(self) -> None:
|
||||
super().__init__("No iterable value found for the loop block")
|
||||
|
||||
|
||||
class InvalidTemplateWorkflowPermanentId(SkyvernHTTPException):
|
||||
def __init__(self, workflow_permanent_id: str) -> None:
|
||||
super().__init__(
|
||||
message=f"Invalid template workflow permanent id: {workflow_permanent_id}. Please make sure the workflow is a valid template.",
|
||||
status_code=status.HTTP_400_BAD_REQUEST,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user