6 lines
174 B
Rust
Raw Normal View History

2021-12-14 18:04:51 +08:00
use crate::FlowyError;
impl std::convert::From<serde_json::Error> for FlowyError {
fn from(error: serde_json::Error) -> Self { FlowyError::internal().context(error) }
}