fn account_liquidity_error_into_rpc_error(err: impl std::fmt::Debug) -> RpcError {
    RpcError {
        code: ErrorCode::ServerError(Error::AccountLiquidityError.into()),
        message: "Not able to get account liquidity".into(),
        data: Some(format!("{:?}", err).into()),
    }
}
/// Converts an account liquidity error into an RPC error.
Converts an account liquidity error into an RPC error.
Converts an account liquidity error into an RPC error .
fn account_liquidity_error_into_rpc_error(err: impl std::fmt::Debug) -> RpcError {
    RpcError {
        code: ErrorCode::ServerError(Error::AccountLiquidityError.into()),
        message: "Not able to get account liquidity".into(),
        data: Some(format!("{:?}", err).into()),
    }
}
fn account_liquidity_error_into_rpc_error ( err : impl std :: fmt :: Debug ) -> RpcError { RpcError { code : ErrorCode :: ServerError ( Error :: AccountLiquidityError . into ( ) ) , message : " " . into ( ) , data : Some ( format ! ( " " err ) . into ( ) ) , } }
Converts an account liquidity error into an RPC error.
Converts an account liquidity error into an RPC error .
err
impl std::fmt::Debug
err
impl std::fmt::Debug