netbox/netbox/dcim/api/exceptions.py

7 lines
200 B
Python

from rest_framework.exceptions import APIException
class MissingFilterException(APIException):
status_code = 400
default_detail = "One or more required filters is missing from the request."