bullpen 0.1.2

Bullpen: an unofficial library for the Pplx API and Replit Modelfarm.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use thiserror::Error;

#[derive(Debug, Error)]
pub enum APIError {
    #[error("Endpoint error: {0}")]
    EndpointError(String),

    #[error("Parse error: {0}")]
    ParseError(String),

    #[error("File error: {0}")]
    FileError(String),

    #[error("Stream error: {0}")]
    StreamError(String),
}