From b87027a3c7d3bc88e2674c9e22c8745c9dbf1043 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 20 Jul 2019 17:18:23 +0300 Subject: Add: MuckStore --- ick2/exceptions.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ick2/exceptions.py') diff --git a/ick2/exceptions.py b/ick2/exceptions.py index bd394af..8467e7a 100644 --- a/ick2/exceptions.py +++ b/ick2/exceptions.py @@ -40,6 +40,12 @@ class Conflict(IckException): rid, expected, got)) +class StoreError(IckException): + + def __init__(self, msg): + super().__init__('Error accessing persistent store: {}'.format(msg)) + + class BadUpdate(IckException): def __init__(self, how): -- cgit v1.2.1