mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-07-28 03:21:54 +00:00

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