summaryrefslogtreecommitdiff
path: root/mailman/interfaces/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'mailman/interfaces/errors.py')
-rw-r--r--mailman/interfaces/errors.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/mailman/interfaces/errors.py b/mailman/interfaces/errors.py
new file mode 100644
index 000000000..81f03d1ea
--- /dev/null
+++ b/mailman/interfaces/errors.py
@@ -0,0 +1,28 @@
+# Copyright (C) 1998-2008 by the Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+# USA.
+
+"""Base Mailman exceptions.
+
+The exceptions in this module are those that are commonly shared among many
+components. More specific exceptions will be located in the relevant
+interfaces.
+"""
+
+
+
+class MailmanError(Exception):
+ """Base class for all Mailman exceptions."""