netbox/netbox/dcim/api/exceptions.py
2016-03-01 11:23:03 -05:00

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."