mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-10 06:15:18 +00:00
Ykeremy/context parameter source parameters (#200)
This commit is contained in:
parent
02cf2a1e87
commit
4a3e897dad
8 changed files with 159 additions and 27 deletions
|
@ -34,3 +34,10 @@ class WorkflowDefinitionHasDuplicateParameterKeys(BaseWorkflowException):
|
|||
class InvalidEmailClientConfiguration(BaseWorkflowException):
|
||||
def __init__(self, problems: list[str]) -> None:
|
||||
super().__init__(f"Email client configuration is invalid. These parameters are missing or invalid: {problems}")
|
||||
|
||||
|
||||
class ContextParameterSourceNotDefined(BaseWorkflowException):
|
||||
def __init__(self, context_parameter_key: str, source_key: str) -> None:
|
||||
super().__init__(
|
||||
f"Source parameter key {source_key} for context parameter {context_parameter_key} does not exist."
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue