summaryrefslogtreecommitdiff
path: root/geneticone/backend/exceptions.py
blob: 292d253751c54a8c73a4c52a15143183fb6e9568 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- coding: utf-8 -*-
#
# File: geneticone/backend/exceptions.py
# This file is part of the Genetic/One-Project, a graphical portage-frontend.
#
# Copyright (C) 2006 René 'Necoro' Neumann
# This is free software.  You may redistribute copies of it under the terms of
# the GNU General Public License version 2.
# There is NO WARRANTY, to the extent permitted by law.
#
# Written by René 'Necoro' Neumann <necoro@necoro.net>

class BlockedException (Exception):
	"""An exception marking, that some package is blocking another one."""
	pass

class PackageNotFoundException (Exception):
	"""An exception marking that a package could not be found."""
	pass

class DependencyCalcError (Exception):
	"""An error occured during dependency calculation."""
	pass