From 33f89ccbd8d94f0a085f242b9105b2f6f85cb263 Mon Sep 17 00:00:00 2001 From: Ivan FB Date: Tue, 28 Apr 2026 23:00:41 +0200 Subject: [PATCH] enrich MessageSendErrorEvent description --- standards/application/reliable-channel-api.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/standards/application/reliable-channel-api.md b/standards/application/reliable-channel-api.md index c4d8274..3b870ff 100644 --- a/standards/application/reliable-channel-api.md +++ b/standards/application/reliable-channel-api.md @@ -334,7 +334,10 @@ types: description: "The identifier of the `send` operation that failed after exhausting retransmission attempts." error: type: string - description: "Error message describing what went wrong" + description: "Describes the failure that prevented end-to-end delivery. Possible values: + - `irrecoverable_loss`: SDS marked the message as irretrievably lost — the recipient's acknowledgement was not received after `maxRetransmissions` retransmission attempts. + - `dispatch_failed`: the network layer rejected or could not dispatch the segment (e.g. lightpush returned `is_success: false`, or no relay/lightpush peers were reachable); propagated from the underlying [MESSAGING-API](/standards/application/messaging-api.md) `MessageSendErrorEvent` error field. + - `channel_closed`: the channel was closed before the recipient confirmed delivery, leaving one or more segments unacknowledged." ReliableSendId: type: string