Skip to main content

objectiveai_sdk/error/
response.rs

1use schemars::JsonSchema;
2use serde::{Deserialize, Serialize};
3
4/// Response from the error endpoint.
5#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)]
6#[schemars(rename = "error.ErrorResponse")]
7pub struct ErrorResponse {
8    /// Whether the request completed successfully.
9    pub ok: bool,
10}