mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Make ResponseError code and message pub so that they can be modified
This commit is contained in:
parent
ac5a1e4c4b
commit
10d4a1a9af
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ use serde::{Deserialize, Serialize};
|
|||
#[serde(rename_all = "camelCase")]
|
||||
pub struct ResponseError {
|
||||
#[serde(skip)]
|
||||
code: StatusCode,
|
||||
message: String,
|
||||
pub code: StatusCode,
|
||||
pub message: String,
|
||||
#[serde(rename = "code")]
|
||||
error_code: String,
|
||||
#[serde(rename = "type")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue