mini_game_service/errors/
for_reqwest.rs1use crate::{GameError, GameErrorKind};
2use reqwest::Error;
3
4impl From<reqwest::Error> for GameError {
5 fn from(value: Error) -> Self {
6 GameErrorKind::ServiceError { external_code: 0, source: "".to_string(), message: value.to_string() }.into()
7 }
8}