11 lines
239 B
Python
11 lines
239 B
Python
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)
|