exceptions.py 1.22 KB
Newer Older
1
#
David Trattnig's avatar
David Trattnig committed
2
# Aura Engine (https://gitlab.servus.at/aura/engine)
3
#
David Trattnig's avatar
David Trattnig committed
4
# Copyright (C) 2017-2020 - The Aura Engine Team.
5
#
David Trattnig's avatar
David Trattnig committed
6
7
8
9
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
10
#
David Trattnig's avatar
David Trattnig committed
11
12
13
14
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
15
#
David Trattnig's avatar
David Trattnig committed
16
17
# You should have received a copy of the GNU Affero General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
18

David Trattnig's avatar
David Trattnig committed
19
20
21
22


# Scheduler Exceptions

23
24
25
class NoProgrammeLoadedException(Exception):
    pass

26
class NoActiveTimeslotException(Exception):
27
    pass
28

29

David Trattnig's avatar
David Trattnig committed
30
31
32
33
# Soundsystem and Mixer Exceptions

class LoadSourceException(Exception):
    pass
Gottfried Gaisbauer's avatar
Gottfried Gaisbauer committed
34

David Trattnig's avatar
David Trattnig committed
35
class InvalidChannelException(Exception):
36
37
    pass

38
class PlaylistException(Exception):
39
    pass
40

41
42
class NoActiveEntryException(Exception):
    pass
David Trattnig's avatar
David Trattnig committed
43
44
45



Lars Kruse's avatar
Lars Kruse committed
46
# Liquidsoap Exceptions
David Trattnig's avatar
David Trattnig committed
47
48
49
50

class LQConnectionError(Exception):
    pass

David Trattnig's avatar
David Trattnig committed
51
52
class LQStreamException(Exception):
    pass
David Trattnig's avatar
David Trattnig committed
53