mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-10 06:15:18 +00:00
Parameterize email recipients (#519)
This commit is contained in:
parent
df71ee0598
commit
0031e6b470
4 changed files with 69 additions and 16 deletions
|
@ -64,6 +64,11 @@ class InvalidEmailClientConfiguration(BaseWorkflowException):
|
|||
super().__init__(f"Email client configuration is invalid. These parameters are missing or invalid: {problems}")
|
||||
|
||||
|
||||
class NoValidEmailRecipient(BaseWorkflowException):
|
||||
def __init__(self, recipients: list[str]) -> None:
|
||||
super().__init__(f"No valid email recipient found. Recipients: {recipients}")
|
||||
|
||||
|
||||
class ContextParameterSourceNotDefined(BaseWorkflowHTTPException):
|
||||
def __init__(self, context_parameter_key: str, source_key: str) -> None:
|
||||
super().__init__(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue