This commit is contained in:
2025-12-05 20:43:49 -03:00
parent b136d83f81
commit 3c1751f4bf
4 changed files with 127 additions and 7 deletions

View File

@@ -0,0 +1,10 @@
from http import HTTPStatus
from aws_lambda_powertools.event_handler.exceptions import (
ServiceError,
)
class ConflictError(ServiceError):
def __init__(self, msg: str | dict):
super().__init__(HTTPStatus.CONFLICT, msg)