Type Alias BootstrapError

Source
pub type BootstrapError = Error;
Expand description

Error that can be returned on a service initialisation.

This is an alias for anyhow::Error. On service bootstrap all such errors can be propagated to the main function and eventually terminate the process. Sentry logs those errors on application termination and in order to have proper understanding of the place where error has occured we use anyhow errors that provide backtraces for error creation site.

Aliased Typeยง

pub struct BootstrapError { /* private fields */ }