diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2010-04-09 23:43:44 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2010-04-09 23:43:44 +0200 |
commit | d8c4bacde00e2be0e5d5aaf7f85f139aae6a95d6 (patch) | |
tree | 12f088e6c07b690cccbcc073b744dc5760713918 /portato/db/exceptions.py | |
parent | 3cc84485184c1662fabb53f35df43a539021ff93 (diff) | |
parent | 359309950a1283dbbf9df6ce1085838087cfc262 (diff) | |
download | portato-no_config.tar.gz portato-no_config.tar.bz2 portato-no_config.zip |
Merge branch 'master' into no_config to pickup the recent changes andno_config
fixes.
Conflicts:
portato/db/__init__.py
portato/session.py
Diffstat (limited to '')
-rw-r--r-- | portato/db/exceptions.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/portato/db/exceptions.py b/portato/db/exceptions.py new file mode 100644 index 0000000..8a6e424 --- /dev/null +++ b/portato/db/exceptions.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +# +# File: portato/db/exceptions.py +# This file is part of the Portato-Project, a graphical portage-frontend. +# +# Copyright (C) 2006-2010 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 DatabaseError (Exception): + pass + +class UnknownDatabaseTypeError (DatabaseError): + pass + +class DatabaseInstantiationError (DatabaseError): + pass + +class UnsupportedSearchTypeError(DatabaseError): + pass + |