send error replies