acta_maker_sdk/ws/maker/
mod.rs1mod data;
4mod quote;
5
6pub use data::{MakerDataClient, MakerDataRequest, MakerDataRequestError, MakerResponse};
7pub use quote::MakerQuoteClient;
8
9use crate::ws::managed::{MakerWsEndpoint, ManagedWsConfigError};
10
11#[derive(Debug, thiserror::Error)]
12#[non_exhaustive]
13pub enum MakerClientError {
14 #[error("{client} requires the {required:?} endpoint, got {actual:?}")]
15 WrongEndpoint {
16 client: &'static str,
17 required: MakerWsEndpoint,
18 actual: MakerWsEndpoint,
19 },
20 #[error(transparent)]
21 InvalidConfig(#[from] ManagedWsConfigError),
22}