error: GnulibModuleNotFoundError -> UnknownModuleError
authorDmitry Selyutin <ghostmansd@gmail.com>
Tue, 19 Sep 2017 19:38:03 +0000 (22:38 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Tue, 19 Sep 2017 19:38:03 +0000 (22:38 +0300)
pygnulib/error.py

index 25baf53ced8b3f0bc68f5b0f6068bbd6ce0039ac..0874a342d8e16d23159e45f48f0e7a238fbec9c0 100644 (file)
@@ -67,16 +67,16 @@ class M4BaseMismatchError(Exception):
 
 
 
-class GnulibModuleNotFoundError(Exception):
-    """module not found"""
-    def __init__(self, name):
-        fmt = "module not found: {0}"
-        super().__init__(fmt.format(name))
-
-
-
 class UnknownLicenseError(Exception):
     """module lacks a license"""
     def __init__(self, module):
         fmt = "module lacks a license: {0}"
         super().__init__(fmt.format(module))
+
+
+
+class UnknownModuleError(Exception):
+    """unknown gnulib module"""
+    def __init__(self, name):
+        fmt = "unknown gnulib module: {0}"
+        super().__init__(fmt.format(name))