postgres.rs 191 B

1234567
  1. use crate::FlowyError;
  2. impl std::convert::From<tokio_postgres::Error> for FlowyError {
  3. fn from(error: tokio_postgres::Error) -> Self {
  4. FlowyError::internal().with_context(error)
  5. }
  6. }