Refactor the search result parsing

This commit is contained in:
Zsombor Gegesy 2023-09-24 15:09:03 +02:00
parent 75a77d25f0
commit 57c73d38c8
4 changed files with 65 additions and 68 deletions

View file

@ -8,7 +8,7 @@ use std::{collections::HashMap, fmt, time::Duration};
/// A custom error type used for handle engine associated errors.
#[derive(Debug)]
pub enum EngineError {
// No matching engine found
/// No matching engine found
EngineNotFound,
/// This variant handles all request related errors like forbidden, not found,
/// etc.