add org
This commit is contained in:
10
api.saladeaula.digital/app/exceptions.py
Normal file
10
api.saladeaula.digital/app/exceptions.py
Normal 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)
|
||||
Reference in New Issue
Block a user