old_console/devices/exceptions.py
2024-11-02 14:12:45 +03:00

6 lines
178 B
Python

from rest_framework import status
from rest_framework.exceptions import APIException
class EndpointDeviceException(APIException):
status_code = status.HTTP_400_BAD_REQUEST