mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
tracing-trace: implement Error on Error
This commit is contained in:
parent
77254765e8
commit
0f327f2821
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,8 @@ pub enum Error {
|
|||
Json(serde_json::Error),
|
||||
}
|
||||
|
||||
impl std::error::Error for Error {}
|
||||
|
||||
impl std::fmt::Display for Error {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
f.write_str("error de/serializing trace entry:")?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue