mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-08-04 23:03:22 +00:00
8 lines
186 B
Rust
8 lines
186 B
Rust
![]() |
use crate::FlowyError;
|
||
|
|
||
|
impl std::convert::From<tokio_postgres::Error> for FlowyError {
|
||
|
fn from(error: tokio_postgres::Error) -> Self {
|
||
|
FlowyError::internal().context(error)
|
||
|
}
|
||
|
}
|