make format happy
Browse files
src/engines/engine_models.rs
CHANGED
|
@@ -28,9 +28,14 @@ impl fmt::Display for EngineError {
|
|
| 28 |
write!(f, "The upstream search engine returned an empty result set")
|
| 29 |
}
|
| 30 |
EngineError::RequestError => {
|
| 31 |
-
write!(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
}
|
| 33 |
-
EngineError::UnexpectedError => write!(f, "An unexpected error occurred while processing the data"),
|
| 34 |
}
|
| 35 |
}
|
| 36 |
}
|
|
|
|
| 28 |
write!(f, "The upstream search engine returned an empty result set")
|
| 29 |
}
|
| 30 |
EngineError::RequestError => {
|
| 31 |
+
write!(
|
| 32 |
+
f,
|
| 33 |
+
"Error occurred while requesting data from upstream search engine"
|
| 34 |
+
)
|
| 35 |
+
}
|
| 36 |
+
EngineError::UnexpectedError => {
|
| 37 |
+
write!(f, "An unexpected error occurred while processing the data")
|
| 38 |
}
|
|
|
|
| 39 |
}
|
| 40 |
}
|
| 41 |
}
|