Implement SendEmailBlock (#137)

This commit is contained in:
Kerem Yilmaz 2024-03-31 01:58:11 -07:00 committed by GitHub
parent 3d1b146470
commit 7562cd9c25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 309 additions and 56 deletions

View file

@ -31,6 +31,6 @@ class WorkflowDefinitionHasDuplicateParameterKeys(BaseWorkflowException):
)
class DownloadFileMaxSizeExceeded(BaseWorkflowException):
def __init__(self, max_size: int) -> None:
super().__init__(f"Download file size exceeded the maximum allowed size of {max_size} MB.")
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}")