mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
8 lines
186 B
Rust
8 lines
186 B
Rust
use crate::FlowyError;
|
|
|
|
impl std::convert::From<serde_json::Error> for FlowyError {
|
|
fn from(error: serde_json::Error) -> Self {
|
|
FlowyError::internal().context(error)
|
|
}
|
|
}
|