# Flad restriction error
-checking_error = "flad.checking_error"
+class checking_error(Exception):
+ pass
# Default key/value separator
def_keysep = ": "
from m_lib.flad import flad, fladm
-error = "fladc.error" # Too many records
+from .flad import checking_error
+class error(checking_error):
+ # Too many records
+ pass
class Flad_Conf(dict):
from m_lib.flad import flad
-error = "fladw.error"
-section_error = "fladw.section_error"
+from .flad import checking_error
+class error(checking_error):
+ pass
+
+class section_error(checking_error):
+ pass
re_section = re.compile("^ *\[(.+)\] *$")