feat(pipeline): add durable outbox and versioned image workers

This commit is contained in:
2026-11-15 22:16:04 +03:00
parent 276dbdad8a
commit 5be41d8646
47 changed files with 4728 additions and 4 deletions
+16
View File
@@ -0,0 +1,16 @@
class DomainError(Exception):
def __init__(
self, status: int, code: str, message: str, headers=None
) -> None:
self.status = status
self.code = code
self.message = message
self.headers = headers or {}
def invalid() -> DomainError:
return DomainError(400, "invalid_request", "Invalid request")
def not_found() -> DomainError:
return DomainError(404, "not_found", "Resource not found")