just-deepseek 0.1.0

Rust client for the DeepSeek API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use just_common::error::TransportError;
use thiserror::Error;

/// DeepSeek provider errors.
#[derive(Debug, Error)]
pub enum Error {
    /// Transport-layer error from the shared HTTP/SSE layer.
    #[error(transparent)]
    Transport(#[from] TransportError),

    /// The request shape was invalid for the selected client method.
    #[error("invalid request: {0}")]
    InvalidRequest(&'static str),
}