Added error to clear command