pub enum RemoteParticipantError {
StateUnavailable,
ResumeEncode(ClientResumeRecordEncodeError),
ResumeDecode(ClientResumeRecordDecodeError),
ResumeRestore(ClientResumeRestoreError),
Storage(SdkError),
Transport(SdkError),
InvalidInboundDirection,
ResponseAuthorityUnavailable,
}Expand description
Failure at the SDK participant state, codec, storage, or transport boundary.
Variants§
A prior commit could not be persisted, so no aggregate authority remains reachable.
ResumeEncode(ClientResumeRecordEncodeError)
The protocol crate could not encode the current aggregate as canonical LPCR.
ResumeDecode(ClientResumeRecordDecodeError)
Persisted bytes were not a canonical LPCR record.
ResumeRestore(ClientResumeRestoreError)
Canonical facts violated a protocol restore invariant.
Storage(SdkError)
The caller-owned durable store rejected a canonical record.
The SdkError is exposed as this error’s source
so a caller can walk to the typed store failure instead of matching on
rendered text.
Transport(SdkError)
The real transport failed outside a typed fate-reporting operation.
The SdkError is exposed as this error’s source,
for the same reason as Storage.
InvalidInboundDirection
A client-to-server request appeared on the SDK receive side.
No live response correlation exists for a replay-specific input.
Trait Implementations§
Source§impl Debug for RemoteParticipantError
impl Debug for RemoteParticipantError
Source§impl Display for RemoteParticipantError
impl Display for RemoteParticipantError
Source§impl Error for RemoteParticipantError
impl Error for RemoteParticipantError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()