exceptions.py 503 B

12345678910111213141516171819202122232425262728293031323334
  1. # pylint: disable=C,R,W
  2. class SupersetException(Exception):
  3. status = 500
  4. class SupersetTimeoutException(SupersetException):
  5. pass
  6. class SupersetSecurityException(SupersetException):
  7. pass
  8. class MetricPermException(SupersetException):
  9. pass
  10. class NoDataException(SupersetException):
  11. status = 400
  12. class NullValueException(SupersetException):
  13. status = 400
  14. class SupersetTemplateException(SupersetException):
  15. pass
  16. class SpatialException(SupersetException):
  17. pass