mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-30 00:55:00 +08:00
Error codes are underscore again
This commit is contained in:
parent
a1e9c44fe5
commit
b0c33ed6d2
@ -155,10 +155,7 @@ macro_rules! make_error_codes {
|
|||||||
|
|
||||||
/// return the doc url associated with the error
|
/// return the doc url associated with the error
|
||||||
fn url(&self) -> String {
|
fn url(&self) -> String {
|
||||||
format!(
|
format!("https://docs.meilisearch.com/errors#{}", self.name())
|
||||||
"https://docs.meilisearch.com/errors#{}",
|
|
||||||
self.name().to_case(convert_case::Case::Kebab)
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pub mod deserr_codes {
|
pub mod deserr_codes {
|
||||||
|
Loading…
Reference in New Issue
Block a user