Sending data along with errors