send error handling