Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

391 B
Raw Blame
#![deny(missing_docs)]
//! This crate splits out the [ErrorResponse] struct from the mega model crate to reduce coupling

use std::borrow::Cow;

/// A plain old json error response for use with axum.
/// yup, thats it.
#[derive(serde::Serialize, serde::Deserialize, Debug, utoipa::ToSchema)]
pub struct ErrorResponse<'a> {
    /// Message to explain failure
    pub message: Cow<'a, str>,
}