<filename>superset/exceptions.py
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals


class SupersetException(Exception):
    status = 500


class SupersetTimeoutException(SupersetException):
    pass


class SupersetSecurityException(SupersetException):
    pass


class MetricPermException(SupersetException):
    pass


class NoDataException(SupersetException):
    status = 400


class SupersetTemplateException(SupersetException):
    pass

<filename>superset/exceptions.py
# -*- coding: utf-8 -*-
# pylint: disable=C,R,W
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals


class SupersetException(Exception):
    status = 500


class SupersetTimeoutException(SupersetException):
    pass


class SupersetSecurityException(SupersetException):
    pass


class MetricPermException(SupersetException):
    pass


class NoDataException(SupersetException):
    status = 400


class SupersetTemplateException(SupersetException):
    pass

# -*- coding: utf-8 -*- # pylint: disable=C,R,W