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
9 changed files with 309 additions and 56 deletions

View File

@@ -179,3 +179,9 @@ class FailedToTakeScreenshot(SkyvernException):
class WorkflowRunContextNotInitialized(SkyvernException):
def __init__(self, workflow_run_id: str) -> None:
super().__init__(f"WorkflowRunContext not initialized for workflow run {workflow_run_id}")
class DownloadFileMaxSizeExceeded(SkyvernException):
def __init__(self, max_size: int) -> None:
self.max_size = max_size
super().__init__(f"Download file size exceeded the maximum allowed size of {max_size} MB.")