9 lines
185 B
Rust
Raw Normal View History

2023-01-30 11:11:19 +08:00
use crate::FlowyError;
use reqwest::Error;
impl std::convert::From<reqwest::Error> for FlowyError {
fn from(error: Error) -> Self {
FlowyError::connection().context(error)
}
2023-01-30 11:11:19 +08:00
}