add tests forn forms, products, productors
All checks were successful
Deploy Amap / deploy (push) Successful in 3m45s

This commit is contained in:
Julien Aldon
2026-02-25 16:39:12 +01:00
parent cfb8d435a8
commit 61cbbf0366
31 changed files with 2694 additions and 60 deletions

View File

@@ -0,0 +1,14 @@
class ProductServiceError(Exception):
def __init__(self, message: str):
super().__init__(message)
class ProductorNotFoundError(ProductServiceError):
pass
class ProductNotFoundError(ProductServiceError):
pass
class ProductCreateError(ProductServiceError):
def __init__(self, message: str, field: str | None = None):
super().__init__(message)
self.field = field