eventsourced-projection 0.3.3

Projections for EventSourced.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
pub mod postgres;

use anyhow::anyhow;
use std::error::Error as StdError;

/// Format the given error with its whole error chain, implemented by using `anyhow`.
fn error_chain<E>(error: E) -> String
where
    E: StdError + Send + Sync + 'static,
{
    format!("{:#}", anyhow!(error))
}