0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-21 21:48:21 -05:00

Update src/engines/engine_models.rs

Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
This commit is contained in:
zhou fan 2023-06-15 06:28:21 +08:00 committed by GitHub
parent 1ebf888085
commit b6faa09750
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,9 +28,9 @@ impl fmt::Display for EngineError {
write!(f, "The upstream search engine returned an empty result set") write!(f, "The upstream search engine returned an empty result set")
} }
EngineError::RequestError => { EngineError::RequestError => {
write!(f, "Request error") write!(f, "Error occurred while requesting data from upstream search engine")
} }
EngineError::UnexpectedError => write!(f, "Unexpected error"), EngineError::UnexpectedError => write!(f, "An unexpected error occurred while processing the data"),
} }
} }
} }