Files
AppFlowy/frontend/rust-lib/flowy-error/src/ext/ot.rs
2021-12-14 18:20:07 +08:00

6 lines
186 B
Rust

use crate::FlowyError;
impl std::convert::From<lib_ot::errors::OTError> for FlowyError {
fn from(error: lib_ot::errors::OTError) -> Self { FlowyError::internal().context(error) }
}