Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/lambda-python/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ test-env/
remotion-env-lint/
.idea

justfile
justfile
.venv
3 changes: 2 additions & 1 deletion packages/lambda-python/dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pytest
dotenv
boto3-stubs[essential]
mypy
mypy
boto3
9 changes: 9 additions & 0 deletions packages/lambda-python/remotion_lambda/exception.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# pylint: disable=too-few-public-methods, missing-module-docstring, broad-exception-caught
class RemotionException(Exception):
"""Base exception for Remotion client errors."""

class RemotionInvalidArgumentException(RemotionException, ValueError):
"""Raised when an invalid argument is provided to a Remotion client method."""

class RemotionRenderingOutputError(RemotionException):
"""Raised when the Remotion rendering process returns an error."""
Loading
Loading