It means that you try to close a long order on Ask instead of Bid, or a short order on Bid instead of Ask.