posthog_cli/
error.rs

1use anyhow::Error;
2
3pub struct CapturedError {
4    pub inner: Error,
5    pub exception_id: Option<String>,
6}
7
8impl From<Error> for CapturedError {
9    fn from(inner: Error) -> Self {
10        Self {
11            inner,
12            exception_id: None,
13        }
14    }
15}