Files
users/src/application/domain/exceptions/bad_request_exception.py

9 lines
297 B
Python

from src.application.domain.exceptions.application_exceptions import ApplicationException
from typing import Mapping
class BadRequestException(ApplicationException):
def __init__(self, message: str, headers: Mapping[str, str] | None = None):
super().__init__(400, message, headers)