summaryrefslogtreecommitdiff
path: root/obnamlib/structurederror.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-01-15 16:56:15 +0200
committerLars Wirzenius <liw@liw.fi>2016-01-15 17:16:28 +0200
commit4d2f2c3ad329c29a9124ec590a698a860d19131d (patch)
tree3723dc17c8b8786f634c2533e2a363b2387fe55e /obnamlib/structurederror.py
parent8910065872e74c6cdcb15d784fad3abfe4a8edb8 (diff)
downloadobnam-4d2f2c3ad329c29a9124ec590a698a860d19131d.tar.gz
Add a default StructuredMessage.msg (None)
Diffstat (limited to 'obnamlib/structurederror.py')
-rw-r--r--obnamlib/structurederror.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/obnamlib/structurederror.py b/obnamlib/structurederror.py
index 01bbbcae..f320194c 100644
--- a/obnamlib/structurederror.py
+++ b/obnamlib/structurederror.py
@@ -77,6 +77,8 @@ class StructuredError(Exception):
'''
+ msg = None
+
def __init__(self, **kwargs):
Exception.__init__(self)
self.kwargs = kwargs