Exemple #1
0
 //A broad class for all kinds of errors
 public static void unknownCommand(string command)
 {
     Output.writeOut($"'{command}' is an unknown command. Please use 'help'."); //If the command isn't recognised
 }
Exemple #2
0
 public static void unknownArgument(string command)
 {
     Output.writeOut($"{command} takes arguments. Please use 'help'."); //If the command takes arguments
 }