package seedu.taskell.commons.events.undo;

import seedu.taskell.commons.events.BaseEvent;

/** Indicates a Command has been entered incorrectly
 *  NOTE: this is different from IncorrectCommandAttemptedEvent (which is meant for UI)
 */

public class ExecutedIncorrectCommandEvent extends BaseEvent {

    @Override
    public String toString() {
        return this.getClass().getSimpleName();
    }
}

@@ -137,16 +137,40 @@
 orrectly
+, to feedback to History
 %0A *  NOT
@@ -317,16 +317,279 @@
 eEvent %7B
+%0A    %0A    private boolean isUndoableCommand;%0A    %0A    public ExecutedIncorrectCommandEvent(boolean isUndoableCommand) %7B%0A        this.isUndoableCommand = isUndoableCommand;%0A    %7D%0A    %0A    public boolean isUndoableCommand() %7B%0A        return isUndoableCommand;%0A    %7D
 %0A%0A    @O

add boolean for command being undoable