rusty_feeder/exchange/binance/common/error.rs
1//! Common error handling for Binance API
2use serde::{Deserialize, Serialize};
3use smartstring::alias::String;
4
5/// Binance API error response structure
6#[derive(Debug, Serialize, Deserialize)]
7pub struct BinanceApiError {
8 /// Error code returned by Binance API
9 pub code: i32,
10
11 /// Error message returned by Binance API
12 pub msg: String,
13}