netbox/netbox/dcim/api/exceptions.py
2017-05-24 11:33:11 -04:00

9 lines
241 B
Python

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