github_email/errors/
for_serde_json.rs

1use serde_json::Error;
2
3use crate::GithubError;
4
5impl From<Error> for GithubError {
6    fn from(error: Error) -> Self {
7        GithubError::NetworkError(error.to_string())
8    }
9}