Added command to set error from prompt