mini-game-service 0.0.1

提供小游戏后端服务
Documentation
1
2
3
4
5
6
7
8
use crate::{GameError, GameErrorKind};
use reqwest::Error;

impl From<reqwest::Error> for GameError {
    fn from(value: Error) -> Self {
        GameErrorKind::ServiceError { external_code: 0, source: "".to_string(), message: value.to_string() }.into()
    }
}