object_transfer 1.2.3

An object transfer library for various message broker and/or protocols
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use ::thiserror::Error;

use super::broker::BrokerError;

/// Error type for unsubscribe operations in the messaging system.
#[derive(Error, Debug)]
pub enum UnSubError {
  /// Broker error.
  #[error("Broker error: {0}")]
  BrokerError(#[from] BrokerError),
  #[error("No Unsubscribe handler found")]
  NoHandler,
}