mirror of
https://github.com/taigaio/taiga-back
synced 2025-10-06 00:02:52 +02:00
16 lines
485 B
Python
16 lines
485 B
Python
# -*- coding: utf-8 -*-
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
#
|
|
# Copyright (c) 2021-present Kaleidos INC
|
|
|
|
from taiga.base.exceptions import BaseException
|
|
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
|
|
class ConnectorBaseException(BaseException):
|
|
status_code = 400
|
|
default_detail = _("Connection error.")
|