[Sharing][Analytics] Create a new failure type to indicate unknown response from remote side.

Since these are not payloads failures, the connection is canceled by local device. FAILED_ATTACHMENT_TRANSMISSION_STATUS is reserved for payload failures.

PiperOrigin-RevId: 398821851
This commit is contained in:
fdi
2021-09-24 15:04:16 -07:00
committed by Copybara-Service
parent 6fc709d6c8
commit 7e99f545e3
+3
View File
@@ -251,6 +251,9 @@ enum AttachmentTransmissionStatus {
FAILED_NULL_CONNECTION = 14;
FAILED_NO_PAYLOAD = 15;
FAILED_WRITE_INTRODUCTION = 16;
// The remote response is either missing or has an unknown type.
FAILED_UNKNOWN_REMOTE_RESPONSE = 17;
}
// The status of processing attachments after receiver received payloads