Spaces:
Runtime error
Runtime error
Update src/engines/engine_models.rs
Browse filesCo-authored-by: neon_arch <[email protected]>
src/engines/engine_models.rs
CHANGED
@@ -28,9 +28,9 @@ impl fmt::Display for EngineError {
|
|
28 |
write!(f, "The upstream search engine returned an empty result set")
|
29 |
}
|
30 |
EngineError::RequestError => {
|
31 |
-
write!(f, "
|
32 |
}
|
33 |
-
EngineError::UnexpectedError => write!(f, "
|
34 |
}
|
35 |
}
|
36 |
}
|
|
|
28 |
write!(f, "The upstream search engine returned an empty result set")
|
29 |
}
|
30 |
EngineError::RequestError => {
|
31 |
+
write!(f, "Error occurred while requesting data from upstream search engine")
|
32 |
}
|
33 |
+
EngineError::UnexpectedError => write!(f, "An unexpected error occurred while processing the data"),
|
34 |
}
|
35 |
}
|
36 |
}
|