changeset 2453 | 9900a8df922f |
parent 2448 | 1367b796e129 |
child 2456 | 7373e3048167 |
--- a/plcopen/structures.py Fri Oct 12 10:42:47 2018 +0300 +++ b/plcopen/structures.py Fri Oct 12 11:14:34 2018 +0300 @@ -266,7 +266,7 @@ Function_decl_copy = Function_decl.copy() Current_section["list"].append(Function_decl_copy) else: - raise "First function must be in a category" + raise ValueError("First function must be in a category") return Standard_Functions_Decl