8 lines
175 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::serde().context(error)
}
2021-12-14 18:04:51 +08:00
}