9 lines
305 B
Python
9 lines
305 B
Python
from application.domain.exceptions.application_exceptions import ApplicationException
|
|
|
|
from typing import Mapping
|
|
|
|
|
|
class NotFoundException(ApplicationException):
|
|
def __init__(self, message: str = 'Not found', headers: Mapping[str, str] | None = None):
|
|
super().__init__(404, message, headers)
|