diff --git a/AddCommand.cpp b/AddCommand.cpp index 2206b33..db57d8a 100644 --- a/AddCommand.cpp +++ b/AddCommand.cpp @@ -31,7 +31,7 @@ namespace commands mgr.add_task(new Task(t)); } else - throw Error(101, "Befehl ist unbekannt."); + throw Error(102, "Ein Parameter eines Befehls konnte nicht gelesen werden."); mgr.save(); } } // commands diff --git a/DelCommand.cpp b/DelCommand.cpp index 9b5ca62..f22e088 100644 --- a/DelCommand.cpp +++ b/DelCommand.cpp @@ -25,7 +25,7 @@ namespace commands else if (data_type == "task") mgr.del_task(id); else - throw Error(101, "Befehl ist unbekannt."); + throw Error(102, "Ein Parameter eines Befehls konnte nicht gelesen werden"); mgr.save(); } } // commands diff --git a/ShowCommand.cpp b/ShowCommand.cpp index 646bc6e..81ae198 100644 --- a/ShowCommand.cpp +++ b/ShowCommand.cpp @@ -31,6 +31,6 @@ namespace commands cout << at; } else - throw Error(101, "Befehl ist unbekannt."); + throw Error(102, "Ein Parameter eines Befehls konnte nicht gelesen werden"); } } // commands