add link to catalog

This commit is contained in:
2025-12-19 12:55:42 -03:00
parent 3be296f1ac
commit 192be98c39
17 changed files with 514 additions and 46 deletions

View File

@@ -1,6 +1,7 @@
from http import HTTPStatus
from aws_lambda_powertools.event_handler.exceptions import (
NotFoundError,
ServiceError,
)
@@ -8,3 +9,24 @@ from aws_lambda_powertools.event_handler.exceptions import (
class ConflictError(ServiceError):
def __init__(self, msg: str | dict):
super().__init__(HTTPStatus.CONFLICT, msg)
class UserNotFoundError(NotFoundError): ...
class EmailNotFoundError(NotFoundError): ...
class EmailVerificationNotFoundError(NotFoundError): ...
class UserConflictError(ConflictError): ...
class EmailConflictError(ConflictError): ...
class CPFConflictError(ConflictError): ...
class CancelPolicyConflictError(ConflictError): ...