mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-11-30 01:35:36 +00:00
15 lines
346 B
Rust
15 lines
346 B
Rust
use http::StatusCode;
|
|
use serde::Deserialize;
|
|
|
|
#[derive(Debug, Deserialize, Clone)]
|
|
#[cfg_attr(test, derive(serde::Serialize))]
|
|
#[serde(rename_all = "camelCase")]
|
|
pub struct ResponseError {
|
|
#[serde(skip)]
|
|
pub code: StatusCode,
|
|
pub message: String,
|
|
pub error_code: String,
|
|
pub error_type: String,
|
|
pub error_link: String,
|
|
}
|