Skip to main content

EventError

Type Alias EventError 

Source
pub type EventError = PublishError;
Expand description

Error returned by an event stream and its condition operations.

Aliased Type§

pub enum EventError {
    Connect(RecoveryError),
    Status(u32),
    SequenceGap {
        expected: u32,
        actual: u32,
    },
    Session(ReadError),
    Subscription(SubscriptionError),
    InvalidSelection,
    InvalidNotification,
    ServerOverflow,
}

Variants§

§

Connect(RecoveryError)

Failed to establish a dedicated pinned session.

§

Status(u32)

The server rejected the monitored item, event field, acknowledgement or subscription.

§

SequenceGap

A skipped message was unavailable, exceeded the recovery window, or the sequence was repeated.

Fields

§expected: u32

Expected nonzero Publish sequence number.

§actual: u32

Observed sequence number.

§

Session(ReadError)

Channel, namespace or service failure.

§

Subscription(SubscriptionError)

Invalid interval/revision, wait timeout or loss of delivery.

§

InvalidSelection

Invalid local selection.

§

InvalidNotification

The response has invalid shape, routing, or encoded size.

§

ServerOverflow

The server reported lost events.