mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-27 10:56:57 +00:00

* chore: async load user profile * chore: enable reset workspace * chore: add confirm dialog
10 lines
185 B
Rust
10 lines
185 B
Rust
use reqwest::Error;
|
|
|
|
use crate::FlowyError;
|
|
|
|
impl std::convert::From<reqwest::Error> for FlowyError {
|
|
fn from(error: Error) -> Self {
|
|
FlowyError::http().with_context(error)
|
|
}
|
|
}
|