summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xarchey35
1 files changed, 5 insertions, 0 deletions
diff --git a/archey3 b/archey3
index b0d7d2a..78e5fb6 100755
--- a/archey3
+++ b/archey3
@@ -129,6 +129,11 @@ COLORS = {
'white': '7'
}
+class ArgumentError(Exception):
+ def __init__(self, caller, message):
+ msg = "{0}: {1}".format(caller.__class__.__name__, message)
+ super().__init__(msg)
+
# State must be serializable
State = collections.namedtuple("State", "color config logger")